#1D1EB4#1D1EB4

#1D1EB4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.221 H 269.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1D1EB4
RGBrgb(29, 30, 180)
HSLhsl(240, 72%, 41%)
HSVhsv(240, 84%, 71%)
CMYKcmyk(83.9%, 83.3%, 0%, 29.4%)
CIE-LABlab(25.21, 51.99, -76.31)
CIE-LCHlch(25.21, 92.34, 304.27°)
OKLaboklab(37.8% -0.004 -0.2209)
OKLCHoklch(37.8% 0.221 269)
XYZxyz(9.2064, 4.4839, 43.5514)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EB4 #B4B31D
analogous
#1D69B4 #1D1EB4 #671DB4
triadic
#1D1EB4 #B41D1E #1EB41D
tetradic
#1D1EB4 #B41D69 #B4B31D #1DB467
square
#1D1EB4 #B41D69 #B4B31D #1DB467
split-complementary
#1D1EB4 #B4671D #69B41D
monochromatic
#0C0C4B #15157F #1D1EB4 #3032DE #6566E6

Accessibility & contrast

On white

11.07
#1D1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1EB4
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1EB4#FFFFFF#000000##FFFFFF
##1D1EB41.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d1eb4;
/* rgb */ color: rgb(29, 30, 180);
/* oklch */ color: oklch(37.8% 0.221 269.0);
Tailwind
colors: {
  custom: {
    50: '#795fcc',
    500: '#1d1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #1d1eb4;
$custom-light: #795fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1eb4",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 239.603,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.22097,
    "h": 269
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#1D1EB4
secondary
#CBCB61
accent
#EE39EF
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1D1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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