#1D2E72#1D2E72

#1D2E72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.119 H 268.5°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1D2E72
RGBrgb(29, 46, 114)
HSLhsl(228, 59%, 28%)
HSVhsv(228, 75%, 45%)
CMYKcmyk(74.6%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.69, 18.70, -41.30)
CIE-LCHlch(21.69, 45.34, 294.36°)
OKLaboklab(33.2% -0.0032 -0.119)
OKLCHoklch(33.2% 0.119 268.5)
XYZxyz(4.5199, 3.4296, 16.3401)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E72 #72611D
analogous
#1D5872 #1D2E72 #361D72
triadic
#1D2E72 #721D2E #2E721D
tetradic
#1D2E72 #721D58 #72611D #1D7236
square
#1D2E72 #721D58 #72611D #1D7236
split-complementary
#1D2E72 #72361D #58721D
monochromatic
#060A18 #111A41 #1D2E72 #2942A3 #3C59CD

Accessibility & contrast

On white

12.46
#1D2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E72
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E72#FFFFFF#000000##FFFFFF
##1D2E721.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2e72;
/* rgb */ color: rgb(29, 46, 114);
/* oklch */ color: oklch(33.2% 0.119 268.5);
Tailwind
colors: {
  custom: {
    50: '#66669b',
    500: '#1d2e72',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e72;
$custom-light: #66669b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e72",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 228,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.11908,
    "h": 268.5
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#1D2E72
secondary
#A69345
accent
#C345E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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