#1D1EA7#1D1EA7

#1D1EA7 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.2% C 0.206 H 269.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1D1EA7
RGBrgb(29, 30, 167)
HSLhsl(240, 70%, 38%)
HSVhsv(240, 83%, 65%)
CMYKcmyk(82.6%, 82%, 0%, 34.5%)
CIE-LABlab(23.60, 47.91, -71.16)
CIE-LCHlch(23.60, 85.79, 303.95°)
OKLaboklab(36.22% -0.0014 -0.2061)
OKLCHoklch(36.22% 0.206 269.6)
XYZxyz(7.9436, 3.9788, 36.9010)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1EA7 #A7A61D
analogous
#1D63A7 #1D1EA7 #611DA7
triadic
#1D1EA7 #A71D1E #1EA71D
tetradic
#1D1EA7 #A71D63 #A7A61D #1DA761
square
#1D1EA7 #A71D63 #A7A61D #1DA761
split-complementary
#1D1EA7 #A7611D #63A71D
monochromatic
#0B0B3F #141573 #1D1EA7 #2829DA #5C5DE3

Accessibility & contrast

On white

11.69
#1D1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1EA7
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1EA7#FFFFFF#000000##FFFFFF
##1D1EA71.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d1ea7;
/* rgb */ color: rgb(29, 30, 167);
/* oklch */ color: oklch(36.2% 0.206 269.6);
Tailwind
colors: {
  custom: {
    50: '#755ec3',
    500: '#1d1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ea7;
$custom-light: #755ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ea7",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 239.565,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.20606,
    "h": 269.6
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#1D1EA7
secondary
#C7C659
accent
#EC3BED
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0413
muted
#7C7982

Preview Lab

Preview with #1D1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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