#1E168A#1E168A

#1E168A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.178 H 272.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1E168A
RGBrgb(30, 22, 138)
HSLhsl(244, 73%, 31%)
HSVhsv(244, 84%, 54%)
CMYKcmyk(78.3%, 84.1%, 0%, 45.9%)
CIE-LABlab(18.73, 42.61, -61.39)
CIE-LCHlch(18.73, 74.72, 304.76°)
OKLaboklab(31.82% 0.0085 -0.1776)
OKLCHoklch(31.82% 0.178 272.7)
XYZxyz(5.4082, 2.6842, 24.2729)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E168A #828A16
analogous
#16488A #1E168A #58168A
triadic
#1E168A #8A1E16 #168A1E
tetradic
#1E168A #8A1648 #828A16 #168A58
square
#1E168A #8A1648 #828A16 #168A58
split-complementary
#1E168A #8A5816 #488A16
monochromatic
#070520 #130E55 #1E168A #291EBF #463BE0

Accessibility & contrast

On white

13.66
#1E168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E168A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E168A#FFFFFF#000000##FFFFFF
##1E168A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e168a;
/* rgb */ color: rgb(30, 22, 138);
/* oklch */ color: oklch(31.8% 0.178 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f57ad',
    500: '#1e168a',
    950: '#000000',
  },
}
SCSS
$custom: #1e168a;
$custom-light: #6f57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e168a",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 244.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31824,
    "c": 0.17779,
    "h": 272.7
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#1E168A
secondary
#B5BE3E
accent
#EF39E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E168A

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

Preview Lab → · Contrast checker → · Palette generator →

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