#1D2F72#1D2F72

#1D2F72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.118 H 268.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1D2F72
RGBrgb(29, 47, 114)
HSLhsl(227, 59%, 28%)
HSVhsv(227, 75%, 45%)
CMYKcmyk(74.6%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.98, 17.99, -40.84)
CIE-LCHlch(21.98, 44.62, 293.77°)
OKLaboklab(33.41% -0.0041 -0.1176)
OKLCHoklch(33.41% 0.118 268)
XYZxyz(4.5594, 3.5087, 16.3533)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F72 #72601D
analogous
#1D5972 #1D2F72 #351D72
triadic
#1D2F72 #721D2F #2F721D
tetradic
#1D2F72 #721D59 #72601D #1D7235
square
#1D2F72 #721D59 #72601D #1D7235
split-complementary
#1D2F72 #72351D #59721D
monochromatic
#060A18 #111B41 #1D2F72 #2943A3 #3C5BCD

Accessibility & contrast

On white

12.34
#1D2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F72
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F72#FFFFFF#000000##FFFFFF
##1D2F721.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2f72;
/* rgb */ color: rgb(29, 47, 114);
/* oklch */ color: oklch(33.4% 0.118 268.0);
Tailwind
colors: {
  custom: {
    50: '#66679b',
    500: '#1d2f72',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f72;
$custom-light: #66679b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f72",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 227.294,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33412,
    "c": 0.11772,
    "h": 268
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#1D2F72
secondary
#A69245
accent
#C145E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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