#1D2159#1D2159

#1D2159 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.099 H 275.0°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#1D2159
RGBrgb(29, 33, 89)
HSLhsl(236, 51%, 23%)
HSVhsv(236, 67%, 35%)
CMYKcmyk(67.4%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.85, 18.11, -34.40)
CIE-LCHlch(15.85, 38.88, 297.76°)
OKLaboklab(28.18% 0.0086 -0.0989)
OKLCHoklch(28.18% 0.099 275)
XYZxyz(2.8531, 2.0700, 9.6984)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2159 #59551D
analogous
#1D3F59 #1D2159 #371D59
triadic
#1D2159 #591D21 #21591D
tetradic
#1D2159 #591D3F #59551D #1D5937
square
#1D2159 #591D3F #59551D #1D5937
split-complementary
#1D2159 #59371D #3F591D
monochromatic
#080917 #0E102B #1D2159 #2C3287 #3B43B5

Accessibility & contrast

On white

14.85
#1D2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2159
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2159#FFFFFF#000000##FFFFFF
##1D21591.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d2159;
/* rgb */ color: rgb(29, 33, 89);
/* oklch */ color: oklch(28.2% 0.099 275.0);
Tailwind
colors: {
  custom: {
    50: '#615c88',
    500: '#1d2159',
    950: '#000000',
  },
}
SCSS
$custom: #1d2159;
$custom-light: #615c88;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2159",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 236,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.0993,
    "h": 275
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#1D2159
secondary
#8E8944
accent
#D14DDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1D2159

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

Preview Lab → · Contrast checker → · Palette generator →

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