#1E116F#1E116F

#1E116F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.149 H 277.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#1E116F
RGBrgb(30, 17, 111)
HSLhsl(248, 73%, 25%)
HSVhsv(248, 85%, 44%)
CMYKcmyk(73%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.54, 36.36, -51.10)
CIE-LCHlch(14.54, 62.71, 305.43°)
OKLaboklab(27.95% 0.0181 -0.1477)
OKLCHoklch(27.95% 0.149 277)
XYZxyz(3.6042, 1.8243, 15.1980)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E116F #626F11
analogous
#11336F #1E116F #4D116F
triadic
#1E116F #6F1E11 #116F1E
tetradic
#1E116F #6F1133 #626F11 #116F4D
square
#1E116F #6F1133 #626F11 #116F4D
split-complementary
#1E116F #6F4D11 #336F11
monochromatic
#07041B #10093A #1E116F #2C19A4 #3B21D9

Accessibility & contrast

On white

15.38
#1E116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E116F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E116F#FFFFFF#000000##FFFFFF
##1E116F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e116f;
/* rgb */ color: rgb(30, 17, 111);
/* oklch */ color: oklch(27.9% 0.149 277.0);
Tailwind
colors: {
  custom: {
    50: '#685299',
    500: '#1e116f',
    950: '#000000',
  },
}
SCSS
$custom: #1e116f;
$custom-light: #685299;
$custom-dark: #000000;
JSON
{
  "hex": "#1e116f",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 248.298,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27947,
    "c": 0.14876,
    "h": 277
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#1E116F
secondary
#97A635
accent
#F038D7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E116F

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

Preview Lab → · Contrast checker → · Palette generator →

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