#1E166F#1E166F

#1E166F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.144 H 276.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#1E166F
RGBrgb(30, 22, 111)
HSLhsl(245, 67%, 26%)
HSVhsv(245, 80%, 44%)
CMYKcmyk(73%, 80.2%, 0%, 56.5%)
CIE-LABlab(15.47, 33.66, -49.55)
CIE-LCHlch(15.47, 59.90, 304.19°)
OKLaboklab(28.6% 0.0156 -0.1432)
OKLCHoklch(28.6% 0.144 276.2)
XYZxyz(3.6906, 1.9972, 15.2268)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E166F #676F16
analogous
#163A6F #1E166F #4A166F
triadic
#1E166F #6F1E16 #166F1E
tetradic
#1E166F #6F163A #676F16 #166F4A
square
#1E166F #6F163A #676F16 #166F4A
split-complementary
#1E166F #6F4A16 #3A6F16
monochromatic
#07051A #100C3C #1E166F #2C20A2 #3A2BD5

Accessibility & contrast

On white

15.00
#1E166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E166F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E166F#FFFFFF#000000##FFFFFF
##1E166F1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e166f;
/* rgb */ color: rgb(30, 22, 111);
/* oklch */ color: oklch(28.6% 0.144 276.2);
Tailwind
colors: {
  custom: {
    50: '#685599',
    500: '#1e166f',
    950: '#000000',
  },
}
SCSS
$custom: #1e166f;
$custom-light: #685599;
$custom-dark: #000000;
JSON
{
  "hex": "#1e166f",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 245.393,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.286,
    "c": 0.14407,
    "h": 276.2
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#1E166F
secondary
#9CA53C
accent
#EA3EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E166F

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

Preview Lab → · Contrast checker → · Palette generator →

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