#1D2D71#1D2D71

#1D2D71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.119 H 268.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1D2D71
RGBrgb(29, 45, 113)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 74%, 44%)
CMYKcmyk(74.3%, 60.2%, 0%, 55.7%)
CIE-LABlab(21.32, 19.01, -41.26)
CIE-LCHlch(21.32, 45.43, 294.74°)
OKLaboklab(32.89% -0.0024 -0.1189)
OKLCHoklch(32.89% 0.119 268.8)
XYZxyz(4.4247, 3.3298, 16.0291)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D71 #71611D
analogous
#1D5771 #1D2D71 #371D71
triadic
#1D2D71 #711D2D #2D711D
tetradic
#1D2D71 #711D57 #71611D #1D7137
square
#1D2D71 #711D57 #71611D #1D7137
split-complementary
#1D2D71 #71371D #57711D
monochromatic
#060A18 #111A40 #1D2D71 #2940A2 #3C57CD

Accessibility & contrast

On white

12.61
#1D2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D71
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D71#FFFFFF#000000##FFFFFF
##1D2D711.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2d71;
/* rgb */ color: rgb(29, 45, 113);
/* oklch */ color: oklch(32.9% 0.119 268.8);
Tailwind
colors: {
  custom: {
    50: '#66659a',
    500: '#1d2d71',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d71;
$custom-light: #66659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d71",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 228.571,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.11895,
    "h": 268.8
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#1D2D71
secondary
#A59344
accent
#C445E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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