Colour reference

Deep Navy

#1d3557

RGB
rgb(29 53 87)
HSL
215°, 50%, 23%
OKLCh
32.8% 0.068 257.3

Open in the picker

Deep Navy in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#1d3557
RGBrgb(29 53 87)
RGB legacyrgb(29, 53, 87)
RGB percentrgb(11.37% 20.78% 34.12%)
HSLhsl(215.2 50% 22.7%)
HSL legacyhsl(215.2, 50%, 22.7%)
HSV / HSBhsv(215.2, 66.7%, 34.1%)
HWBhwb(215.2 11.4% 65.9%)
Nearest namemidnightblue (approx.)
CMYKcmyk(66.7%, 39.1%, 0%, 65.9%)Naive conversion. Real print work needs an ICC profile.

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

OKLChoklch(32.764% 0.0678 257.272)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(32.764% -0.01494 -0.06613)
CIE LChlch(21.592% 23.768 269.555)
CIE Lablab(21.592% -0.185 -23.767)
Display P3color(display-p3 0.1354 0.2054 0.3311)
Rec. 2020color(rec2020 0.1042 0.1429 0.2702)
srgb-linearcolor(srgb-linear 0.0123 0.0356 0.0953)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.035 0.035 0.0951)

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

GLSL vec3 — sRGBvec3(0.114, 0.208, 0.341)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.012, 0.036, 0.095)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.114, 0.208, 0.341, 1.0)
GLSL vec4 — linearvec4(0.012, 0.036, 0.095, 1.0)
GLSL ivec3ivec3(29, 53, 87)
HLSL float3 — sRGBfloat3(0.114, 0.208, 0.341)
HLSL float3 — linearfloat3(0.012, 0.036, 0.095)
HLSL float4 — sRGBfloat4(0.114, 0.208, 0.341, 1.0)
HLSL half4 — sRGBhalf4(0.114, 0.208, 0.341, 1.0)
WGSL vec3f — sRGBvec3f(0.114, 0.208, 0.341)
WGSL vec4f — sRGBvec4f(0.114, 0.208, 0.341, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.012, 0.036, 0.095)

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

Unity Colornew Color(0.114f, 0.208f, 0.341f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(29, 53, 87, 255)
Unreal FLinearColorFLinearColor(0.0123f, 0.0356f, 0.0953f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(29, 53, 87, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.114, 0.208, 0.341, 1)
Flutter ColorColor(0xFF1D3557)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(29, 53, 87)
SwiftUI ColorColor(red: 0.114, green: 0.208, blue: 0.341)
UIKit UIColorUIColor(red: 0.114, green: 0.208, blue: 0.341, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x1D3557
0x hex (ARGB)0xFF1D3557
Array 0–1[0.114, 0.208, 0.341]
Array 0–255[29, 53, 87]
Decimal integer1914199

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
Deep Navy on white12.36:1AAALc 98Body text at any size
Deep Navy on black1.70:1FailLc 0Not usable for text

Deep Navy text on a white background

Deep Navy text on a black background

White text on Deep Navy

Black text on Deep Navy

Tonal scale

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

  • 50#eaf9ff
  • 100#daefff
  • 200#c5deff
  • 300#adc8ee
  • 400#8fabd3
  • 500#718db5
  • 600#597398
  • 700#445c7e
  • 800#334967
  • 900#263954
  • 950#112035

Tints and shades

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

  • Tint 1#3e5372
  • Tint 2#61738d
  • Tint 3#8695a9
  • Tint 4#adb7c5
  • Tint 5#d5dae2
  • Shade 1#142742
  • Shade 2#0c1a2f
  • Shade 3#050e1c
  • Shade 4#01040c
  • Shade 5#000101

Colours that work with Deep Navy

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

  • #482f01
  • #522528
  • #233d18
  • #003b50
  • #332e55

Closest CSS names

  • midnightblueΔEok 0.090
  • darkslategrayΔEok 0.096
  • darkslateblueΔEok 0.113
  • navyΔEok 0.133
  • darkblueΔEok 0.138
  • indigoΔEok 0.140