#1D1EA6#1D1EA6

#1D1EA6 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.1% C 0.205 H 269.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1D1EA6
RGBrgb(29, 30, 166)
HSLhsl(240, 70%, 38%)
HSVhsv(240, 83%, 65%)
CMYKcmyk(82.5%, 81.9%, 0%, 34.9%)
CIE-LABlab(23.48, 47.59, -70.76)
CIE-LCHlch(23.48, 85.28, 303.92°)
OKLaboklab(36.1% -0.0012 -0.2049)
OKLCHoklch(36.1% 0.205 269.7)
XYZxyz(7.8516, 3.9420, 36.4161)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EA6 #A6A51D
analogous
#1D62A6 #1D1EA6 #601DA6
triadic
#1D1EA6 #A61D1E #1EA61D
tetradic
#1D1EA6 #A61D62 #A6A51D #1DA660
square
#1D1EA6 #A61D62 #A6A51D #1DA660
split-complementary
#1D1EA6 #A6601D #62A61D
monochromatic
#0B0B3E #141572 #1D1EA6 #2728D9 #5B5CE2

Accessibility & contrast

On white

11.74
#1D1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1EA6
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1EA6#FFFFFF#000000##FFFFFF
##1D1EA61.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0031A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d1ea6;
/* rgb */ color: rgb(29, 30, 166);
/* oklch */ color: oklch(36.1% 0.205 269.7);
Tailwind
colors: {
  custom: {
    50: '#755dc2',
    500: '#1d1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ea6;
$custom-light: #755dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ea6",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 239.562,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36099,
    "c": 0.20489,
    "h": 269.7
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#1D1EA6
secondary
#C6C559
accent
#EC3BED
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0413
muted
#7C7982

Preview Lab

Preview with #1D1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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