#1E116D#1E116D

#1E116D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.146 H 277.3°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1E116D
RGBrgb(30, 17, 109)
HSLhsl(248, 73%, 25%)
HSVhsv(248, 84%, 43%)
CMYKcmyk(72.5%, 84.4%, 0%, 57.3%)
CIE-LABlab(14.29, 35.70, -50.20)
CIE-LCHlch(14.29, 61.60, 305.42°)
OKLaboklab(27.71% 0.0187 -0.145)
OKLCHoklch(27.71% 0.146 277.3)
XYZxyz(3.4953, 1.7807, 14.6245)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E116D #606D11
analogous
#11326D #1E116D #4C116D
triadic
#1E116D #6D1E11 #116D1E
tetradic
#1E116D #6D1132 #606D11 #116D4C
square
#1E116D #6D1132 #606D11 #116D4C
split-complementary
#1E116D #6D4C11 #326D11
monochromatic
#07041A #0F0938 #1E116D #2D19A2 #3B22D7

Accessibility & contrast

On white

15.48
#1E116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E116D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E116D#FFFFFF#000000##FFFFFF
##1E116D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e116d;
/* rgb */ color: rgb(30, 17, 109);
/* oklch */ color: oklch(27.7% 0.146 277.3);
Tailwind
colors: {
  custom: {
    50: '#685298',
    500: '#1e116d',
    950: '#000000',
  },
}
SCSS
$custom: #1e116d;
$custom-light: #685298;
$custom-dark: #000000;
JSON
{
  "hex": "#1e116d",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 248.478,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27706,
    "c": 0.14624,
    "h": 277.3
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#1E116D
secondary
#95A535
accent
#F038D6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E116D

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

Preview Lab → · Contrast checker → · Palette generator →

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