#1D3A72#1D3A72

#1D3A72 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.103 H 262.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1D3A72
RGBrgb(29, 58, 114)
HSLhsl(220, 59%, 28%)
HSVhsv(220, 75%, 45%)
CMYKcmyk(74.6%, 49.1%, 0%, 55.3%)
CIE-LABlab(25.27, 10.18, -35.52)
CIE-LCHlch(25.27, 36.95, 285.99°)
OKLaboklab(35.91% -0.0143 -0.1018)
OKLCHoklch(35.91% 0.103 262)
XYZxyz(5.0559, 4.5017, 16.5188)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A72 #72551D
analogous
#1D6572 #1D3A72 #2A1D72
triadic
#1D3A72 #721D3A #3A721D
tetradic
#1D3A72 #721D65 #72551D #1D722A
square
#1D3A72 #721D65 #72551D #1D722A
split-complementary
#1D3A72 #722A1D #65721D
monochromatic
#060C18 #112141 #1D3A72 #2953A3 #3C6ECD

Accessibility & contrast

On white

11.05
#1D3A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D3A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A72
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A72#FFFFFF#000000##FFFFFF
##1D3A721.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3a72;
/* rgb */ color: rgb(29, 58, 114);
/* oklch */ color: oklch(35.9% 0.103 262.0);
Tailwind
colors: {
  custom: {
    50: '#656f9b',
    500: '#1d3a72',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a72;
$custom-light: #656f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a72",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 219.529,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3591,
    "c": 0.10282,
    "h": 262
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#1D3A72
secondary
#A68545
accent
#AD45E3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3A72

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1D3A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva