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
Blue 500 in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #3b82f6 | |
|---|---|---|
| RGB | rgb(59 130 246) | |
| RGB legacy | rgb(59, 130, 246) | |
| RGB percent | rgb(23.14% 50.98% 96.47%) | |
| HSL | hsl(217.2 91.2% 59.8%) | |
| HSL legacy | hsl(217.2, 91.2%, 59.8%) | |
| HSV / HSB | hsv(217.2, 76%, 96.5%) | |
| HWB | hwb(217.2 23.1% 3.5%) | |
| Nearest name | dodgerblue (approx.) | |
| CMYK | cmyk(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.
| OKLCh | oklch(62.308% 0.18801 259.815)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(62.308% -0.03325 -0.18505) | |
| CIE LCh | lch(54.619% 66.372 277.587) | |
| CIE Lab | lab(54.619% 8.763 -65.791) | |
| Display P3 | color(display-p3 0.3047 0.5035 0.9338) | |
| Rec. 2020 | color(rec2020 0.3558 0.4555 0.9202) | |
| srgb-linear | color(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 — sRGB | vec3(0.231, 0.51, 0.965)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.044, 0.223, 0.922)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.231, 0.51, 0.965, 1.0) | |
| GLSL vec4 — linear | vec4(0.044, 0.223, 0.922, 1.0) | |
| GLSL ivec3 | ivec3(59, 130, 246) | |
| HLSL float3 — sRGB | float3(0.231, 0.51, 0.965) | |
| HLSL float3 — linear | float3(0.044, 0.223, 0.922) | |
| HLSL float4 — sRGB | float4(0.231, 0.51, 0.965, 1.0) | |
| HLSL half4 — sRGB | half4(0.231, 0.51, 0.965, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.231, 0.51, 0.965) | |
| WGSL vec4f — sRGB | vec4f(0.231, 0.51, 0.965, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.044, 0.223, 0.922) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(59, 130, 246, 255) | |
| Unreal FLinearColor | FLinearColor(0.0437f, 0.2232f, 0.9216f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(59, 130, 246, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.231, 0.51, 0.965, 1) | |
| Flutter Color | Color(0xFF3B82F6)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(59, 130, 246) | |
| SwiftUI Color | Color(red: 0.231, green: 0.51, blue: 0.965) | |
| UIKit UIColor | UIColor(red: 0.231, green: 0.51, blue: 0.965, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x3B82F6 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF3B82F6 | |
| Array 0–1 | [0.231, 0.51, 0.965] | |
| Array 0–255 | [59, 130, 246] | |
| Decimal integer | 3900150 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Blue 500 on white | 3.68:1 | AA Large | Lc 64 | Headings and large text |
| Blue 500 on black | 5.71:1 | AA | Lc 38 | Non-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.036royalblueΔEok 0.067cornflowerblueΔEok 0.070mediumslateblueΔEok 0.087steelblueΔEok 0.101mediumpurpleΔEok 0.113