#1D1EB3#1D1EB3

#1D1EB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.220 H 269.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1D1EB3
RGBrgb(29, 30, 179)
HSLhsl(240, 72%, 41%)
HSVhsv(240, 84%, 70%)
CMYKcmyk(83.8%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.09, 51.68, -75.92)
CIE-LCHlch(25.09, 91.84, 304.25°)
OKLaboklab(37.67% -0.0038 -0.2198)
OKLCHoklch(37.67% 0.22 269)
XYZxyz(9.1049, 4.4433, 43.0169)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EB3 #B3B21D
analogous
#1D69B3 #1D1EB3 #671DB3
triadic
#1D1EB3 #B31D1E #1EB31D
tetradic
#1D1EB3 #B31D69 #B3B21D #1DB367
square
#1D1EB3 #B31D69 #B3B21D #1DB367
split-complementary
#1D1EB3 #B3671D #69B31D
monochromatic
#0C0C4A #14157E #1D1EB3 #3031DD #6465E6

Accessibility & contrast

On white

11.12
#1D1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1EB3
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1EB3#FFFFFF#000000##FFFFFF
##1D1EB31.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d1eb3;
/* rgb */ color: rgb(29, 30, 179);
/* oklch */ color: oklch(37.7% 0.220 269.0);
Tailwind
colors: {
  custom: {
    50: '#795ecb',
    500: '#1d1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1d1eb3;
$custom-light: #795ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1eb3",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 239.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.21983,
    "h": 269
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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