#1E167F#1E167F

#1E167F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 274.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1E167F
RGBrgb(30, 22, 127)
HSLhsl(245, 70%, 29%)
HSVhsv(245, 83%, 50%)
CMYKcmyk(76.4%, 82.7%, 0%, 50.2%)
CIE-LABlab(17.37, 39.04, -56.69)
CIE-LCHlch(17.37, 68.83, 304.55°)
OKLaboklab(30.49% 0.0114 -0.164)
OKLCHoklch(30.49% 0.164 274)
XYZxyz(4.6518, 2.3817, 20.2891)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E167F #777F16
analogous
#16437F #1E167F #53167F
triadic
#1E167F #7F1E16 #167F1E
tetradic
#1E167F #7F1643 #777F16 #167F53
square
#1E167F #7F1643 #777F16 #167F53
split-complementary
#1E167F #7F5316 #437F16
monochromatic
#06051A #120D4B #1E167F #2A1FB3 #4034DC

Accessibility & contrast

On white

14.22
#1E167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E167F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E167F#FFFFFF#000000##FFFFFF
##1E167F1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e167f;
/* rgb */ color: rgb(30, 22, 127);
/* oklch */ color: oklch(30.5% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c56a5',
    500: '#1e167f',
    950: '#000000',
  },
}
SCSS
$custom: #1e167f;
$custom-light: #6c56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e167f",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 244.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30489,
    "c": 0.16437,
    "h": 274
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#1E167F
secondary
#ABB43D
accent
#ED3BE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E167F

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

Preview Lab → · Contrast checker → · Palette generator →

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