#1E166D#1E166D

#1E166D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.141 H 276.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#1E166D
RGBrgb(30, 22, 109)
HSLhsl(246, 66%, 26%)
HSVhsv(246, 80%, 43%)
CMYKcmyk(72.5%, 79.8%, 0%, 57.3%)
CIE-LABlab(15.24, 32.97, -48.63)
CIE-LCHlch(15.24, 58.75, 304.14°)
OKLaboklab(28.37% 0.0161 -0.1405)
OKLCHoklch(28.37% 0.141 276.5)
XYZxyz(3.5817, 1.9536, 14.6534)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E166D #656D16
analogous
#16396D #1E166D #49166D
triadic
#1E166D #6D1E16 #166D1E
tetradic
#1E166D #6D1639 #656D16 #166D49
square
#1E166D #6D1639 #656D16 #166D49
split-complementary
#1E166D #6D4916 #396D16
monochromatic
#070519 #100C3A #1E166D #2C20A0 #3A2BD3

Accessibility & contrast

On white

15.10
#1E166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E166D
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E166D#FFFFFF#000000##FFFFFF
##1E166D1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e166d;
/* rgb */ color: rgb(30, 22, 109);
/* oklch */ color: oklch(28.4% 0.141 276.5);
Tailwind
colors: {
  custom: {
    50: '#675598',
    500: '#1e166d',
    950: '#000000',
  },
}
SCSS
$custom: #1e166d;
$custom-light: #675598;
$custom-dark: #000000;
JSON
{
  "hex": "#1e166d",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 245.517,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2837,
    "c": 0.14145,
    "h": 276.5
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#1E166D
secondary
#9AA33C
accent
#E93EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E166D

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

Preview Lab → · Contrast checker → · Palette generator →

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