Colour reference
Prussian Blue
#023047
- RGB
- rgb(2 48 71)
- HSL
- 200°, 95%, 14%
- OKLCh
- 29.3% 0.062 237.0
Prussian Blue in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #023047 | |
|---|---|---|
| RGB | rgb(2 48 71) | |
| RGB legacy | rgb(2, 48, 71) | |
| RGB percent | rgb(0.78% 18.82% 27.84%) | |
| HSL | hsl(200 94.5% 14.3%) | |
| HSL legacy | hsl(200, 94.5%, 14.3%) | |
| HSV / HSB | hsv(200, 97.2%, 27.8%) | |
| HWB | hwb(200 0.8% 72.2%) | |
| Nearest name | midnightblue (approx.) | |
| CMYK | cmyk(97.2%, 32.4%, 0%, 72.2%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(29.314% 0.06225 237.013)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(29.314% -0.03389 -0.05222) | |
| CIE LCh | lch(17.983% 20.311 248.023) | |
| CIE Lab | lab(17.983% -7.601 -18.835) | |
| Display P3 | color(display-p3 0.0679 0.1849 0.2706) | |
| Rec. 2020 | color(rec2020 0.0578 0.1204 0.2084) | |
| srgb-linear | color(srgb-linear 0.0006 0.0296 0.063)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.0222 0.0258 0.0634) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.008, 0.188, 0.278)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.001, 0.03, 0.063)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.008, 0.188, 0.278, 1.0) | |
| GLSL vec4 — linear | vec4(0.001, 0.03, 0.063, 1.0) | |
| GLSL ivec3 | ivec3(2, 48, 71) | |
| HLSL float3 — sRGB | float3(0.008, 0.188, 0.278) | |
| HLSL float3 — linear | float3(0.001, 0.03, 0.063) | |
| HLSL float4 — sRGB | float4(0.008, 0.188, 0.278, 1.0) | |
| HLSL half4 — sRGB | half4(0.008, 0.188, 0.278, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.008, 0.188, 0.278) | |
| WGSL vec4f — sRGB | vec4f(0.008, 0.188, 0.278, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.001, 0.03, 0.063) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.008f, 0.188f, 0.278f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(2, 48, 71, 255) | |
| Unreal FLinearColor | FLinearColor(0.0006f, 0.0296f, 0.063f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(2, 48, 71, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.008, 0.188, 0.278, 1) | |
| Flutter Color | Color(0xFF023047)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(2, 48, 71) | |
| SwiftUI Color | Color(red: 0.008, green: 0.188, blue: 0.278) | |
| UIKit UIColor | UIColor(red: 0.008, green: 0.188, blue: 0.278, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x023047 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF023047 | |
| Array 0–1 | [0.008, 0.188, 0.278] | |
| Array 0–255 | [2, 48, 71] | |
| Decimal integer | 143431 |
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 |
|---|---|---|---|---|
| Prussian Blue on white | 13.85:1 | AAA | Lc 100 | Body text at any size |
| Prussian Blue on black | 1.52:1 | Fail | Lc 0 | Not usable for text |
Prussian Blue text on a white background
Prussian Blue text on a black background
White text on Prussian Blue
Black text on Prussian Blue
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#e1fcff
- 100#d0f3ff
- 200#bde2fb
- 300#a4cce6
- 400#85b0cb
- 500#6791ad
- 600#4f7791
- 700#3a6077
- 800#2a4c61
- 900#1d3c4e
- 950#082231
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#2e4f63
- Tint 2#556f81
- Tint 3#7d919f
- Tint 4#a7b5be
- Tint 5#d2d9de
- Shade 1#012336
- Shade 2#011725
- Shade 3#000c16
- Shade 4#000408
- Shade 5#000001
Colours that work with Prussian Blue
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #432307
- #441e2c
- #2a3005
- #00343c
- #1e2a4b
Closest CSS names
midnightblueΔEok 0.100darkslategrayΔEok 0.118navyΔEok 0.137darkblueΔEok 0.147darkslateblueΔEok 0.155indigoΔEok 0.169