#1E1168#1E1168

#1E1168 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.140 H 278.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1E1168
RGBrgb(30, 17, 104)
HSLhsl(249, 72%, 24%)
HSVhsv(249, 84%, 41%)
CMYKcmyk(71.2%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.69, 34.06, -47.92)
CIE-LCHlch(13.69, 58.79, 305.40°)
OKLaboklab(27.11% 0.0202 -0.1384)
OKLCHoklch(27.11% 0.14 278.3)
XYZxyz(3.2338, 1.6761, 13.2471)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1168 #5B6811
analogous
#112F68 #1E1168 #491168
triadic
#1E1168 #681E11 #11681E
tetradic
#1E1168 #68112F #5B6811 #116849
square
#1E1168 #68112F #5B6811 #116849
split-complementary
#1E1168 #684911 #2F6811
monochromatic
#08041A #0F0833 #1E1168 #2D1A9D #3C22D1

Accessibility & contrast

On white

15.73
#1E1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1E1168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1168
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1168#FFFFFF#000000##FFFFFF
##1E11681.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1168;
/* rgb */ color: rgb(30, 17, 104);
/* oklch */ color: oklch(27.1% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#675294',
    500: '#1e1168',
    950: '#000000',
  },
}
SCSS
$custom: #1e1168;
$custom-light: #675294;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1168",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 248.966,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.13989,
    "h": 278.3
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#1E1168
secondary
#90A035
accent
#EF39D4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1168

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

Preview Lab → · Contrast checker → · Palette generator →

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