#1E167A#1E167A

#1E167A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.158 H 274.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#1E167A
RGBrgb(30, 22, 122)
HSLhsl(245, 69%, 28%)
HSVhsv(245, 82%, 48%)
CMYKcmyk(75.4%, 82%, 0%, 52.2%)
CIE-LABlab(16.77, 37.38, -54.50)
CIE-LCHlch(16.77, 66.09, 304.44°)
OKLaboklab(29.89% 0.0127 -0.1576)
OKLCHoklch(29.89% 0.158 274.6)
XYZxyz(4.3340, 2.2545, 18.6153)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E167A #727A16
analogous
#16407A #1E167A #50167A
triadic
#1E167A #7A1E16 #167A1E
tetradic
#1E167A #7A1640 #727A16 #167A50
square
#1E167A #7A1640 #727A16 #167A50
split-complementary
#1E167A #7A5016 #407A16
monochromatic
#06051A #110D46 #1E167A #2B1FAE #3E31DA

Accessibility & contrast

On white

14.47
#1E167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E167A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E167A#FFFFFF#000000##FFFFFF
##1E167A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e167a;
/* rgb */ color: rgb(30, 22, 122);
/* oklch */ color: oklch(29.9% 0.158 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b56a2',
    500: '#1e167a',
    950: '#000000',
  },
}
SCSS
$custom: #1e167a;
$custom-light: #6b56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e167a",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 244.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.15814,
    "h": 274.6
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#1E167A
secondary
#A6AF3D
accent
#EC3CDE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E167A

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

Preview Lab → · Contrast checker → · Palette generator →

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