All tools

Color Converter

HEX, RGB, HSL, Unity/Unreal code

Runs on device

Web

HEX#336699
RGBrgb(51, 102, 153)
HSLhsl(210, 50%, 40%)
HSVhsv(210, 67%, 60%)

Game engines

Unity Colornew Color(0.200f, 0.400f, 0.600f, 1.000f)
Unity Color32new Color32(51, 102, 153, 255)
Unreal FLinearColorFLinearColor(0.033f, 0.133f, 0.319f, 1.000f)
Unreal FColorFColor(51, 102, 153, 255)
Godot ColorColor(0.200, 0.400, 0.600, 1.000)

0 to 1 values

sRGB0.200, 0.400, 0.600, 1.000
Linear0.033, 0.133, 0.319, 1.000

Contrast (WCAG)

Aa

On white 6.00:1

AAAAALarge text

Aa

On black 3.50:1

AAAAALarge text

AA passes at 4.5:1, AAA at 7:1, and large text at 3:1. Opacity is not taken into account.