#1E167B#1E167B

#1E167B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 274.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1E167B
RGBrgb(30, 22, 123)
HSLhsl(245, 70%, 28%)
HSVhsv(245, 82%, 48%)
CMYKcmyk(75.6%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.89, 37.71, -54.94)
CIE-LCHlch(16.89, 66.64, 304.46°)
OKLaboklab(30.01% 0.0124 -0.1589)
OKLCHoklch(30.01% 0.159 274.5)
XYZxyz(4.3963, 2.2795, 18.9433)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E167B #737B16
analogous
#16407B #1E167B #50167B
triadic
#1E167B #7B1E16 #167B1E
tetradic
#1E167B #7B1640 #737B16 #167B50
square
#1E167B #7B1640 #737B16 #167B50
split-complementary
#1E167B #7B5016 #407B16
monochromatic
#06051A #110D47 #1E167B #2B1FAF #3F31DA

Accessibility & contrast

On white

14.42
#1E167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E167B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E167B#FFFFFF#000000##FFFFFF
##1E167B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e167b;
/* rgb */ color: rgb(30, 22, 123);
/* oklch */ color: oklch(30.0% 0.159 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b56a2',
    500: '#1e167b',
    950: '#000000',
  },
}
SCSS
$custom: #1e167b;
$custom-light: #6b56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e167b",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 244.752,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.1594,
    "h": 274.5
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#1E167B
secondary
#A7B03D
accent
#EC3BDE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E167B

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

Preview Lab → · Contrast checker → · Palette generator →

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