Colour reference

Blue 500

#3b82f6

Probably the most used interface blue on the web.

RGB
rgb(59 130 246)
HSL
217°, 91%, 60%
OKLCh
62.3% 0.188 259.8

Open in the picker

Blue 500 in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#3b82f6
RGBrgb(59 130 246)
RGB legacyrgb(59, 130, 246)
RGB percentrgb(23.14% 50.98% 96.47%)
HSLhsl(217.2 91.2% 59.8%)
HSL legacyhsl(217.2, 91.2%, 59.8%)
HSV / HSBhsv(217.2, 76%, 96.5%)
HWBhwb(217.2 23.1% 3.5%)
Nearest namedodgerblue (approx.)
CMYKcmyk(76%, 47.2%, 0%, 3.5%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(62.308% 0.18801 259.815)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(62.308% -0.03325 -0.18505)
CIE LChlch(54.619% 66.372 277.587)
CIE Lablab(54.619% 8.763 -65.791)
Display P3color(display-p3 0.3047 0.5035 0.9338)
Rec. 2020color(rec2020 0.3558 0.4555 0.9202)
srgb-linearcolor(srgb-linear 0.0437 0.2232 0.9216)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.2642 0.2355 0.9034)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.231, 0.51, 0.965)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.044, 0.223, 0.922)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.231, 0.51, 0.965, 1.0)
GLSL vec4 — linearvec4(0.044, 0.223, 0.922, 1.0)
GLSL ivec3ivec3(59, 130, 246)
HLSL float3 — sRGBfloat3(0.231, 0.51, 0.965)
HLSL float3 — linearfloat3(0.044, 0.223, 0.922)
HLSL float4 — sRGBfloat4(0.231, 0.51, 0.965, 1.0)
HLSL half4 — sRGBhalf4(0.231, 0.51, 0.965, 1.0)
WGSL vec3f — sRGBvec3f(0.231, 0.51, 0.965)
WGSL vec4f — sRGBvec4f(0.231, 0.51, 0.965, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.044, 0.223, 0.922)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.231f, 0.51f, 0.965f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(59, 130, 246, 255)
Unreal FLinearColorFLinearColor(0.0437f, 0.2232f, 0.9216f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(59, 130, 246, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.231, 0.51, 0.965, 1)
Flutter ColorColor(0xFF3B82F6)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(59, 130, 246)
SwiftUI ColorColor(red: 0.231, green: 0.51, blue: 0.965)
UIKit UIColorUIColor(red: 0.231, green: 0.51, blue: 0.965, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x3B82F6
0x hex (ARGB)0xFF3B82F6
Array 0–1[0.231, 0.51, 0.965]
Array 0–255[59, 130, 246]
Decimal integer3900150

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Blue 500 on white3.68:1AA LargeLc 64Headings and large text
Blue 500 on black5.71:1AALc 38Non-text elements only

Blue 500 text on a white background

Blue 500 text on a black background

White text on Blue 500

Black text on Blue 500

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#ebf8ff
  • 100#dcefff
  • 200#c1deff
  • 300#9cc7ff
  • 400#6ba8ff
  • 500#3f86fb
  • 600#276bda
  • 700#1254b9
  • 800#00409c
  • 900#003083
  • 950#001659

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#5d99fa
  • Tint 2#7eaefd
  • Tint 3#9ec3ff
  • Tint 4#bed7ff
  • Tint 5#deebff
  • Shade 1#2c65c1
  • Shade 2#1e498f
  • Shade 3#112f5f
  • Shade 4#051634
  • Shade 5#01030e

Colours that work with Blue 500

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #b57a00
  • #e24956
  • #3ba01b
  • #0095ce
  • #886cee

Closest CSS names

  • dodgerblueΔEok 0.036
  • royalblueΔEok 0.067
  • cornflowerblueΔEok 0.070
  • mediumslateblueΔEok 0.087
  • steelblueΔEok 0.101
  • mediumpurpleΔEok 0.113