#1D2E71#1D2E71

#1D2E71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.118 H 268.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1D2E71
RGBrgb(29, 46, 113)
HSLhsl(228, 59%, 28%)
HSVhsv(228, 74%, 44%)
CMYKcmyk(74.3%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.61, 18.30, -40.80)
CIE-LCHlch(21.61, 44.71, 294.16°)
OKLaboklab(33.11% -0.0032 -0.1175)
OKLCHoklch(33.11% 0.118 268.4)
XYZxyz(4.4633, 3.4070, 16.0420)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E71 #71601D
analogous
#1D5871 #1D2E71 #361D71
triadic
#1D2E71 #711D2E #2E711D
tetradic
#1D2E71 #711D58 #71601D #1D7136
square
#1D2E71 #711D58 #71601D #1D7136
split-complementary
#1D2E71 #71361D #58711D
monochromatic
#060A18 #111A40 #1D2E71 #2942A2 #3C59CD

Accessibility & contrast

On white

12.49
#1D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E71
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E71#FFFFFF#000000##FFFFFF
##1D2E711.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2e71;
/* rgb */ color: rgb(29, 46, 113);
/* oklch */ color: oklch(33.1% 0.118 268.4);
Tailwind
colors: {
  custom: {
    50: '#66669a',
    500: '#1d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e71;
$custom-light: #66669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e71",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 227.857,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33108,
    "c": 0.11759,
    "h": 268.4
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#1D2E71
secondary
#A59244
accent
#C345E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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