#1E1167#1E1167

#1E1167 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.139 H 278.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1E1167
RGBrgb(30, 17, 103)
HSLhsl(249, 72%, 24%)
HSVhsv(249, 83%, 40%)
CMYKcmyk(70.9%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.57, 33.73, -47.46)
CIE-LCHlch(13.57, 58.22, 305.40°)
OKLaboklab(26.99% 0.0205 -0.1371)
OKLCHoklch(26.99% 0.139 278.5)
XYZxyz(3.1833, 1.6559, 12.9812)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1167 #5A6711
analogous
#112F67 #1E1167 #491167
triadic
#1E1167 #671E11 #11671E
tetradic
#1E1167 #67112F #5A6711 #116749
square
#1E1167 #67112F #5A6711 #116749
split-complementary
#1E1167 #674911 #2F6711
monochromatic
#08041A #0F0832 #1E1167 #2D1A9C #3D22D0

Accessibility & contrast

On white

15.78
#1E1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1167
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1167#FFFFFF#000000##FFFFFF
##1E11671.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1167;
/* rgb */ color: rgb(30, 17, 103);
/* oklch */ color: oklch(27.0% 0.139 278.5);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1e1167',
    950: '#000000',
  },
}
SCSS
$custom: #1e1167;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1167",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 249.07,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26989,
    "c": 0.13861,
    "h": 278.5
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#1E1167
secondary
#8F9F35
accent
#EE39D3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1167

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

Preview Lab → · Contrast checker → · Palette generator →

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