Colour reference

Prussian Blue

#023047

RGB
rgb(2 48 71)
HSL
200°, 95%, 14%
OKLCh
29.3% 0.062 237.0

Open in the picker

Prussian Blue in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#023047
RGBrgb(2 48 71)
RGB legacyrgb(2, 48, 71)
RGB percentrgb(0.78% 18.82% 27.84%)
HSLhsl(200 94.5% 14.3%)
HSL legacyhsl(200, 94.5%, 14.3%)
HSV / HSBhsv(200, 97.2%, 27.8%)
HWBhwb(200 0.8% 72.2%)
Nearest namemidnightblue (approx.)
CMYKcmyk(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.

OKLChoklch(29.314% 0.06225 237.013)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(29.314% -0.03389 -0.05222)
CIE LChlch(17.983% 20.311 248.023)
CIE Lablab(17.983% -7.601 -18.835)
Display P3color(display-p3 0.0679 0.1849 0.2706)
Rec. 2020color(rec2020 0.0578 0.1204 0.2084)
srgb-linearcolor(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 — sRGBvec3(0.008, 0.188, 0.278)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.001, 0.03, 0.063)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.008, 0.188, 0.278, 1.0)
GLSL vec4 — linearvec4(0.001, 0.03, 0.063, 1.0)
GLSL ivec3ivec3(2, 48, 71)
HLSL float3 — sRGBfloat3(0.008, 0.188, 0.278)
HLSL float3 — linearfloat3(0.001, 0.03, 0.063)
HLSL float4 — sRGBfloat4(0.008, 0.188, 0.278, 1.0)
HLSL half4 — sRGBhalf4(0.008, 0.188, 0.278, 1.0)
WGSL vec3f — sRGBvec3f(0.008, 0.188, 0.278)
WGSL vec4f — sRGBvec4f(0.008, 0.188, 0.278, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.001, 0.03, 0.063)

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

Unity Colornew 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 Color32new Color32(2, 48, 71, 255)
Unreal FLinearColorFLinearColor(0.0006f, 0.0296f, 0.063f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(2, 48, 71, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.008, 0.188, 0.278, 1)
Flutter ColorColor(0xFF023047)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(2, 48, 71)
SwiftUI ColorColor(red: 0.008, green: 0.188, blue: 0.278)
UIKit UIColorUIColor(red: 0.008, green: 0.188, blue: 0.278, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x023047
0x hex (ARGB)0xFF023047
Array 0–1[0.008, 0.188, 0.278]
Array 0–255[2, 48, 71]
Decimal integer143431

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
Prussian Blue on white13.85:1AAALc 100Body text at any size
Prussian Blue on black1.52:1FailLc 0Not 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.100
  • darkslategrayΔEok 0.118
  • navyΔEok 0.137
  • darkblueΔEok 0.147
  • darkslateblueΔEok 0.155
  • indigoΔEok 0.169