#1D2474#1D2474

#1D2474 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.135 H 271.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1D2474
RGBrgb(29, 36, 116)
HSLhsl(235, 60%, 28%)
HSVhsv(235, 75%, 45%)
CMYKcmyk(75%, 69%, 0%, 54.5%)
CIE-LABlab(19.16, 26.48, -46.72)
CIE-LCHlch(19.16, 53.70, 299.54°)
OKLaboklab(31.38% 0.0046 -0.135)
OKLCHoklch(31.38% 0.135 271.9)
XYZxyz(4.2889, 2.7835, 16.8308)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2474 #746D1D
analogous
#1D4F74 #1D2474 #411D74
triadic
#1D2474 #741D24 #24741D
tetradic
#1D2474 #741D4F #746D1D #1D7441
square
#1D2474 #741D4F #746D1D #1D7441
split-complementary
#1D2474 #74411D #4F741D
monochromatic
#060818 #111543 #1D2474 #2933A5 #3D49CE

Accessibility & contrast

On white

13.49
#1D2474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2474
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2474#FFFFFF#000000##FFFFFF
##1D24741.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2474;
/* rgb */ color: rgb(29, 36, 116);
/* oklch */ color: oklch(31.4% 0.135 271.9);
Tailwind
colors: {
  custom: {
    50: '#675f9d',
    500: '#1d2474',
    950: '#000000',
  },
}
SCSS
$custom: #1d2474;
$custom-light: #675f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2474",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 235.172,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.13513,
    "h": 271.9
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2474

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

Preview Lab → · Contrast checker → · Palette generator →

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