#1E1166#1E1166

#1E1166 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.137 H 278.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#1E1166
RGBrgb(30, 17, 102)
HSLhsl(249, 71%, 23%)
HSVhsv(249, 83%, 40%)
CMYKcmyk(70.6%, 83.3%, 0%, 60%)
CIE-LABlab(13.45, 33.39, -46.99)
CIE-LCHlch(13.45, 57.65, 305.40°)
OKLaboklab(26.87% 0.0209 -0.1357)
OKLCHoklch(26.87% 0.137 278.7)
XYZxyz(3.1334, 1.6360, 12.7184)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1166 #596611
analogous
#112E66 #1E1166 #481166
triadic
#1E1166 #661E11 #11661E
tetradic
#1E1166 #66112E #596611 #116648
square
#1E1166 #66112E #596611 #116648
split-complementary
#1E1166 #664811 #2E6611
monochromatic
#08041A #0F0832 #1E1166 #2D1A9A #3D22CF

Accessibility & contrast

On white

15.82
#1E1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1166
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1166#FFFFFF#000000##FFFFFF
##1E11661.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1166;
/* rgb */ color: rgb(30, 17, 102);
/* oklch */ color: oklch(26.9% 0.137 278.7);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1e1166',
    950: '#000000',
  },
}
SCSS
$custom: #1e1166;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1166",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 249.176,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26871,
    "c": 0.13732,
    "h": 278.7
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#1E1166
secondary
#8E9E35
accent
#EE3AD3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1166

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

Preview Lab → · Contrast checker → · Palette generator →

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