#1E167E#1E167E

#1E167E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.163 H 274.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#1E167E
RGBrgb(30, 22, 126)
HSLhsl(245, 70%, 29%)
HSVhsv(245, 83%, 49%)
CMYKcmyk(76.2%, 82.5%, 0%, 50.6%)
CIE-LABlab(17.25, 38.71, -56.26)
CIE-LCHlch(17.25, 68.29, 304.53°)
OKLaboklab(30.37% 0.0117 -0.1627)
OKLCHoklch(30.37% 0.163 274.1)
XYZxyz(4.5870, 2.3557, 19.9476)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E167E #767E16
analogous
#16427E #1E167E #52167E
triadic
#1E167E #7E1E16 #167E1E
tetradic
#1E167E #7E1642 #767E16 #167E52
square
#1E167E #7E1642 #767E16 #167E52
split-complementary
#1E167E #7E5216 #427E16
monochromatic
#06051A #120D4A #1E167E #2A1FB2 #4033DB

Accessibility & contrast

On white

14.27
#1E167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E167E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E167E#FFFFFF#000000##FFFFFF
##1E167E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e167e;
/* rgb */ color: rgb(30, 22, 126);
/* oklch */ color: oklch(30.4% 0.163 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c56a5',
    500: '#1e167e',
    950: '#000000',
  },
}
SCSS
$custom: #1e167e;
$custom-light: #6c56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e167e",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 244.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.16314,
    "h": 274.1
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E167E

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

Preview Lab → · Contrast checker → · Palette generator →

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