#1E1162#1E1162

#1E1162 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.132 H 279.6°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#1E1162
RGBrgb(30, 17, 98)
HSLhsl(250, 70%, 23%)
HSVhsv(250, 83%, 38%)
CMYKcmyk(69.4%, 82.7%, 0%, 61.6%)
CIE-LABlab(12.98, 32.06, -45.12)
CIE-LCHlch(12.98, 55.35, 305.39°)
OKLaboklab(26.4% 0.0221 -0.1303)
OKLCHoklch(26.4% 0.132 279.6)
XYZxyz(2.9398, 1.5585, 11.6988)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1162 #556211
analogous
#112C62 #1E1162 #471162
triadic
#1E1162 #621E11 #11621E
tetradic
#1E1162 #62112C #556211 #116247
square
#1E1162 #62112C #556211 #116247
split-complementary
#1E1162 #624711 #2C6211
monochromatic
#08051A #0E082E #1E1162 #2E1A96 #3E23CA

Accessibility & contrast

On white

16.01
#1E1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1162
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1162#FFFFFF#000000##FFFFFF
##1E11621.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e1162;
/* rgb */ color: rgb(30, 17, 98);
/* oklch */ color: oklch(26.4% 0.132 279.6);
Tailwind
colors: {
  custom: {
    50: '#655190',
    500: '#1e1162',
    950: '#000000',
  },
}
SCSS
$custom: #1e1162;
$custom-light: #655190;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1162",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 249.63,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.13213,
    "h": 279.6
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#1E1162
secondary
#8A9A34
accent
#ED3BD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #1E1162

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

Preview Lab → · Contrast checker → · Palette generator →

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