#1E168C#1E168C

#1E168C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.180 H 272.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1E168C
RGBrgb(30, 22, 140)
HSLhsl(244, 73%, 32%)
HSVhsv(244, 84%, 55%)
CMYKcmyk(78.6%, 84.3%, 0%, 45.1%)
CIE-LABlab(18.98, 43.24, -62.22)
CIE-LCHlch(18.98, 75.77, 304.80°)
OKLaboklab(32.07% 0.008 -0.18)
OKLCHoklch(32.07% 0.18 272.5)
XYZxyz(5.5544, 2.7427, 25.0425)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E168C #848C16
analogous
#16498C #1E168C #59168C
triadic
#1E168C #8C1E16 #168C1E
tetradic
#1E168C #8C1649 #848C16 #168C59
square
#1E168C #8C1649 #848C16 #168C59
split-complementary
#1E168C #8C5916 #498C16
monochromatic
#070522 #130E57 #1E168C #291EC1 #473CE0

Accessibility & contrast

On white

13.56
#1E168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E168C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E168C#FFFFFF#000000##FFFFFF
##1E168C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e168c;
/* rgb */ color: rgb(30, 22, 140);
/* oklch */ color: oklch(32.1% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f57af',
    500: '#1e168c',
    950: '#000000',
  },
}
SCSS
$custom: #1e168c;
$custom-light: #6f57af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e168c",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 244.068,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32069,
    "c": 0.18019,
    "h": 272.5
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#1E168C
secondary
#B7C03E
accent
#F038E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E168C

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

Preview Lab → · Contrast checker → · Palette generator →

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