#1E168F#1E168F

#1E168F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.184 H 272.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1E168F
RGBrgb(30, 22, 143)
HSLhsl(244, 73%, 32%)
HSVhsv(244, 85%, 56%)
CMYKcmyk(79%, 84.6%, 0%, 43.9%)
CIE-LABlab(19.36, 44.19, -63.47)
CIE-LCHlch(19.36, 77.34, 304.85°)
OKLaboklab(32.44% 0.0072 -0.1836)
OKLCHoklch(32.44% 0.184 272.2)
XYZxyz(5.7786, 2.8324, 26.2234)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E168F #878F16
analogous
#164B8F #1E168F #5B168F
triadic
#1E168F #8F1E16 #168F1E
tetradic
#1E168F #8F164B #878F16 #168F5B
square
#1E168F #8F164B #878F16 #168F5B
split-complementary
#1E168F #8F5B16 #4B8F16
monochromatic
#080625 #130E5A #1E168F #291EC4 #493EE1

Accessibility & contrast

On white

13.40
#1E168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E168F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E168F#FFFFFF#000000##FFFFFF
##1E168F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e168f;
/* rgb */ color: rgb(30, 22, 143);
/* oklch */ color: oklch(32.4% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#7058b1',
    500: '#1e168f',
    950: '#000000',
  },
}
SCSS
$custom: #1e168f;
$custom-light: #7058b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e168f",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 243.967,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.18376,
    "h": 272.2
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#1E168F
secondary
#B9C13F
accent
#F038E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E168F

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

Preview Lab → · Contrast checker → · Palette generator →

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