#1D2989#1D2989

#1D2989 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.158 H 269.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1D2989
RGBrgb(29, 41, 137)
HSLhsl(233, 65%, 33%)
HSVhsv(233, 79%, 54%)
CMYKcmyk(78.8%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.49, 31.10, -54.56)
CIE-LCHlch(22.49, 62.80, 299.69°)
OKLaboklab(34.44% -0.0005 -0.1579)
OKLCHoklch(34.44% 0.158 269.8)
XYZxyz(5.8134, 3.6526, 24.0607)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2989 #897D1D
analogous
#1D5F89 #1D2989 #471D89
triadic
#1D2989 #891D29 #29891D
tetradic
#1D2989 #891D5F #897D1D #1D8947
square
#1D2989 #891D5F #897D1D #1D8947
split-complementary
#1D2989 #89471D #5F891D
monochromatic
#080B24 #121A56 #1D2989 #2838BC #4858D8

Accessibility & contrast

On white

12.13
#1D2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2989
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2989#FFFFFF#000000##FFFFFF
##1D29891.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2989;
/* rgb */ color: rgb(29, 41, 137);
/* oklch */ color: oklch(34.4% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c63ac',
    500: '#1d2989',
    950: '#000000',
  },
}
SCSS
$custom: #1d2989;
$custom-light: #6c63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2989",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 233.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.15792,
    "h": 269.8
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#1D2989
secondary
#BAAE47
accent
#D540E8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2989

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

Preview Lab → · Contrast checker → · Palette generator →

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