#1D2472#1D2472

#1D2472 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.132 H 272.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1D2472
RGBrgb(29, 36, 114)
HSLhsl(235, 59%, 28%)
HSVhsv(235, 75%, 45%)
CMYKcmyk(74.6%, 68.4%, 0%, 55.3%)
CIE-LABlab(18.96, 25.71, -45.76)
CIE-LCHlch(18.96, 52.48, 299.33°)
OKLaboklab(31.18% 0.0048 -0.1322)
OKLCHoklch(31.18% 0.132 272.1)
XYZxyz(4.1738, 2.7375, 16.2247)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2472 #726B1D
analogous
#1D4E72 #1D2472 #401D72
triadic
#1D2472 #721D24 #24721D
tetradic
#1D2472 #721D4E #726B1D #1D7240
square
#1D2472 #721D4E #726B1D #1D7240
split-complementary
#1D2472 #72401D #4E721D
monochromatic
#060818 #111541 #1D2472 #2933A3 #3C48CD

Accessibility & contrast

On white

13.57
#1D2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2472
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2472#FFFFFF#000000##FFFFFF
##1D24721.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2472;
/* rgb */ color: rgb(29, 36, 114);
/* oklch */ color: oklch(31.2% 0.132 272.1);
Tailwind
colors: {
  custom: {
    50: '#675f9b',
    500: '#1d2472',
    950: '#000000',
  },
}
SCSS
$custom: #1d2472;
$custom-light: #675f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2472",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 235.059,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31179,
    "c": 0.13231,
    "h": 272.1
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#1D2472
secondary
#A69E45
accent
#D645E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2472

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

Preview Lab → · Contrast checker → · Palette generator →

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