#1D1E8F#1D1E8F

#1D1E8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.177 H 271.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1D1E8F
RGBrgb(29, 30, 143)
HSLhsl(239, 66%, 34%)
HSVhsv(239, 80%, 56%)
CMYKcmyk(79.7%, 79%, 0%, 43.9%)
CIE-LABlab(20.72, 40.00, -61.21)
CIE-LCHlch(20.72, 73.12, 303.16°)
OKLaboklab(33.37% 0.0035 -0.1772)
OKLCHoklch(33.37% 0.177 271.1)
XYZxyz(5.9272, 3.1723, 26.2812)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E8F #8F8E1D
analogous
#1D578F #1D1E8F #551D8F
triadic
#1D1E8F #8F1D1E #1E8F1D
tetradic
#1D1E8F #8F1D57 #8F8E1D #1D8F55
square
#1D1E8F #8F1D57 #8F8E1D #1D8F55
split-complementary
#1D1E8F #8F551D #578F1D
monochromatic
#080929 #13135C #1D1E8F #2729C2 #4C4DDB

Accessibility & contrast

On white

12.85
#1D1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E8F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E8F#FFFFFF#000000##FFFFFF
##1D1E8F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d1e8f;
/* rgb */ color: rgb(29, 30, 143);
/* oklch */ color: oklch(33.4% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f5cb1',
    500: '#1d1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e8f;
$custom-light: #6f5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e8f",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 239.474,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33371,
    "c": 0.17727,
    "h": 271.1
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#1D1E8F
secondary
#BDBC4B
accent
#E83FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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