#1D2139#1D2139

#1D2139 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.046 H 275.5°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1D2139
RGBrgb(29, 33, 57)
HSLhsl(231, 33%, 17%)
HSVhsv(231, 49%, 22%)
CMYKcmyk(49.1%, 42.1%, 0%, 77.6%)
CIE-LABlab(13.50, 5.86, -16.14)
CIE-LCHlch(13.50, 17.17, 289.94°)
OKLaboklab(25.65% 0.0044 -0.0453)
OKLCHoklch(25.65% 0.046 275.5)
XYZxyz(1.7888, 1.6442, 4.0932)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2139 #39351D
analogous
#1D2F39 #1D2139 #271D39
triadic
#1D2139 #391D21 #21391D
tetradic
#1D2139 #391D2F #39351D #1D3927
square
#1D2139 #391D2F #39351D #1D3927
split-complementary
#1D2139 #39271D #2F391D
monochromatic
#0A0C14 #0A0C14 #1D2139 #323862 #46508A

Accessibility & contrast

On white

15.80
#1D2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2139
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2139#FFFFFF#000000##FFFFFF
##1D21391.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#162238
Tritanopia (blue-blind)
#14262A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d2139;
/* rgb */ color: rgb(29, 33, 57);
/* oklch */ color: oklch(25.6% 0.046 275.5);
Tailwind
colors: {
  custom: {
    50: '#5a5c6f',
    500: '#1d2139',
    950: '#000000',
  },
}
SCSS
$custom: #1d2139;
$custom-light: #5a5c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2139",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 231.429,
    "s": 32.558,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25645,
    "c": 0.04556,
    "h": 275.5
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#1D2139
secondary
#6D6745
accent
#BA5FC9
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #1D2139

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

Preview Lab → · Contrast checker → · Palette generator →

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