#1E208A#1E208A

#1E208A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 271.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1E208A
RGBrgb(30, 32, 138)
HSLhsl(239, 64%, 33%)
HSVhsv(239, 78%, 54%)
CMYKcmyk(78.3%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.61, 37.20, -58.28)
CIE-LCHlch(20.61, 69.14, 302.55°)
OKLaboklab(33.14% 0.0049 -0.1687)
OKLCHoklch(33.14% 0.169 271.7)
XYZxyz(5.6378, 3.1434, 24.3494)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E208A #8A881E
analogous
#1E568A #1E208A #521E8A
triadic
#1E208A #8A1E20 #208A1E
tetradic
#1E208A #8A1E56 #8A881E #1E8A52
square
#1E208A #8A1E56 #8A881E #1E8A52
split-complementary
#1E208A #8A521E #568A1E
monochromatic
#080925 #131458 #1E208A #292CBC #4B4DD8

Accessibility & contrast

On white

12.89
#1E208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E208A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E208A#FFFFFF#000000##FFFFFF
##1E208A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e208a;
/* rgb */ color: rgb(30, 32, 138);
/* oklch */ color: oklch(33.1% 0.169 271.7);
Tailwind
colors: {
  custom: {
    50: '#6e5dad',
    500: '#1e208a',
    950: '#000000',
  },
}
SCSS
$custom: #1e208a;
$custom-light: #6e5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e208a",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 238.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.16878,
    "h": 271.7
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#1E208A
secondary
#BAB84A
accent
#E441E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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