#1E168D#1E168D

#1E168D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.181 H 272.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#1E168D
RGBrgb(30, 22, 141)
HSLhsl(244, 73%, 32%)
HSVhsv(244, 84%, 55%)
CMYKcmyk(78.7%, 84.4%, 0%, 44.7%)
CIE-LABlab(19.11, 43.56, -62.64)
CIE-LCHlch(19.11, 76.30, 304.82°)
OKLaboklab(32.19% 0.0077 -0.1812)
OKLCHoklch(32.19% 0.181 272.4)
XYZxyz(5.6284, 2.7723, 25.4326)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E168D #858D16
analogous
#16498D #1E168D #5A168D
triadic
#1E168D #8D1E16 #168D1E
tetradic
#1E168D #8D1649 #858D16 #168D5A
square
#1E168D #8D1649 #858D16 #168D5A
split-complementary
#1E168D #8D5A16 #498D16
monochromatic
#070523 #130E58 #1E168D #291EC2 #483DE1

Accessibility & contrast

On white

13.51
#1E168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E168D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E168D#FFFFFF#000000##FFFFFF
##1E168D1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e168d;
/* rgb */ color: rgb(30, 22, 141);
/* oklch */ color: oklch(32.2% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#7057b0',
    500: '#1e168d',
    950: '#000000',
  },
}
SCSS
$custom: #1e168d;
$custom-light: #7057b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e168d",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 244.034,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32192,
    "c": 0.18138,
    "h": 272.4
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#1E168D
secondary
#B8C13E
accent
#F038E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E168D

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

Preview Lab → · Contrast checker → · Palette generator →

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