#1E166A#1E166A

#1E166A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.138 H 277.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1E166A
RGBrgb(30, 22, 106)
HSLhsl(246, 66%, 25%)
HSVhsv(246, 79%, 42%)
CMYKcmyk(71.7%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.90, 31.93, -47.23)
CIE-LCHlch(14.90, 57.01, 304.06°)
OKLaboklab(28.03% 0.0168 -0.1365)
OKLCHoklch(28.03% 0.138 277)
XYZxyz(3.4230, 1.8901, 13.8173)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E166A #626A16
analogous
#16386A #1E166A #48166A
triadic
#1E166A #6A1E16 #166A1E
tetradic
#1E166A #6A1638 #626A16 #166A48
square
#1E166A #6A1638 #626A16 #166A48
split-complementary
#1E166A #6A4816 #386A16
monochromatic
#070519 #100B37 #1E166A #2C219D #3B2BCF

Accessibility & contrast

On white

15.24
#1E166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E166A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E166A#FFFFFF#000000##FFFFFF
##1E166A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e166a;
/* rgb */ color: rgb(30, 22, 106);
/* oklch */ color: oklch(28.0% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#675596',
    500: '#1e166a',
    950: '#000000',
  },
}
SCSS
$custom: #1e166a;
$custom-light: #675596;
$custom-dark: #000000;
JSON
{
  "hex": "#1e166a",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 245.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28027,
    "c": 0.1375,
    "h": 277
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#1E166A
secondary
#97A03B
accent
#E93FD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E166A

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

Preview Lab → · Contrast checker → · Palette generator →

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