#1D2489#1D2489

#1D2489 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.164 H 270.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1D2489
RGBrgb(29, 36, 137)
HSLhsl(236, 65%, 33%)
HSVhsv(236, 79%, 54%)
CMYKcmyk(78.8%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.31, 34.32, -56.49)
CIE-LCHlch(21.31, 66.10, 301.28°)
OKLaboklab(33.59% 0.0021 -0.1636)
OKLCHoklch(33.59% 0.164 270.7)
XYZxyz(5.6514, 3.3285, 24.0067)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2489 #89821D
analogous
#1D5A89 #1D2489 #4C1D89
triadic
#1D2489 #891D24 #24891D
tetradic
#1D2489 #891D5A #89821D #1D894C
square
#1D2489 #891D5A #89821D #1D894C
split-complementary
#1D2489 #894C1D #5A891D
monochromatic
#080924 #121756 #1D2489 #2831BC #4851D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2489#FFFFFF#000000##FFFFFF
##1D24891.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)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2489;
/* rgb */ color: rgb(29, 36, 137);
/* oklch */ color: oklch(33.6% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d5fad',
    500: '#1d2489',
    950: '#000000',
  },
}
SCSS
$custom: #1d2489;
$custom-light: #6d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2489",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 236.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.16357,
    "h": 270.7
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#1D2489
secondary
#BAB347
accent
#DD40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2489

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

Preview Lab → · Contrast checker → · Palette generator →

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