#1E167D#1E167D

#1E167D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.162 H 274.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1E167D
RGBrgb(30, 22, 125)
HSLhsl(245, 70%, 29%)
HSVhsv(245, 82%, 49%)
CMYKcmyk(76%, 82.4%, 0%, 51%)
CIE-LABlab(17.13, 38.38, -55.82)
CIE-LCHlch(17.13, 67.74, 304.51°)
OKLaboklab(30.25% 0.0119 -0.1614)
OKLCHoklch(30.25% 0.162 274.2)
XYZxyz(4.5228, 2.3301, 19.6094)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E167D #757D16
analogous
#16427D #1E167D #52167D
triadic
#1E167D #7D1E16 #167D1E
tetradic
#1E167D #7D1642 #757D16 #167D52
square
#1E167D #7D1642 #757D16 #167D52
split-complementary
#1E167D #7D5216 #427D16
monochromatic
#06051A #120D49 #1E167D #2A1FB1 #4032DB

Accessibility & contrast

On white

14.32
#1E167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E167D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E167D#FFFFFF#000000##FFFFFF
##1E167D1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e167d;
/* rgb */ color: rgb(30, 22, 125);
/* oklch */ color: oklch(30.2% 0.162 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b56a4',
    500: '#1e167d',
    950: '#000000',
  },
}
SCSS
$custom: #1e167d;
$custom-light: #6b56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e167d",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 244.66,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30249,
    "c": 0.16189,
    "h": 274.2
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#1E167D
secondary
#A9B23D
accent
#ED3BDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E167D

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

Preview Lab → · Contrast checker → · Palette generator →

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