#1E168B#1E168B

#1E168B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.179 H 272.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1E168B
RGBrgb(30, 22, 139)
HSLhsl(244, 73%, 32%)
HSVhsv(244, 84%, 55%)
CMYKcmyk(78.4%, 84.2%, 0%, 45.5%)
CIE-LABlab(18.86, 42.93, -61.81)
CIE-LCHlch(18.86, 75.25, 304.78°)
OKLaboklab(31.95% 0.0082 -0.1788)
OKLCHoklch(31.95% 0.179 272.6)
XYZxyz(5.4810, 2.7133, 24.6560)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E168B #838B16
analogous
#16488B #1E168B #59168B
triadic
#1E168B #8B1E16 #168B1E
tetradic
#1E168B #8B1648 #838B16 #168B59
square
#1E168B #8B1648 #838B16 #168B59
split-complementary
#1E168B #8B5916 #488B16
monochromatic
#070521 #130E56 #1E168B #291EC0 #473BE0

Accessibility & contrast

On white

13.61
#1E168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E168B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E168B#FFFFFF#000000##FFFFFF
##1E168B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e168b;
/* rgb */ color: rgb(30, 22, 139);
/* oklch */ color: oklch(31.9% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f57ae',
    500: '#1e168b',
    950: '#000000',
  },
}
SCSS
$custom: #1e168b;
$custom-light: #6f57ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e168b",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 244.103,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31946,
    "c": 0.17899,
    "h": 272.6
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#1E168B
secondary
#B6BF3E
accent
#EF38E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E168B

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

Preview Lab → · Contrast checker → · Palette generator →

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