#1E208B#1E208B

#1E208B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.170 H 271.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E208B
RGBrgb(30, 32, 139)
HSLhsl(239, 64%, 33%)
HSVhsv(239, 78%, 55%)
CMYKcmyk(78.4%, 77%, 0%, 45.5%)
CIE-LABlab(20.72, 37.55, -58.72)
CIE-LCHlch(20.72, 69.70, 302.60°)
OKLaboklab(33.25% 0.0047 -0.17)
OKLCHoklch(33.25% 0.17 271.6)
XYZxyz(5.7106, 3.1725, 24.7325)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E208B #8B891E
analogous
#1E568B #1E208B #521E8B
triadic
#1E208B #8B1E20 #208B1E
tetradic
#1E208B #8B1E56 #8B891E #1E8B52
square
#1E208B #8B1E56 #8B891E #1E8B52
split-complementary
#1E208B #8B521E #568B1E
monochromatic
#080926 #131459 #1E208B #292CBD #4B4ED8

Accessibility & contrast

On white

12.85
#1E208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E208B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E208B#FFFFFF#000000##FFFFFF
##1E208B1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e208b;
/* rgb */ color: rgb(30, 32, 139);
/* oklch */ color: oklch(33.3% 0.170 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e5dae',
    500: '#1e208b',
    950: '#000000',
  },
}
SCSS
$custom: #1e208b;
$custom-light: #6e5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e208b",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 238.899,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.17005,
    "h": 271.6
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#1E208B
secondary
#BBB94A
accent
#E440E7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E208B

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

Preview Lab → · Contrast checker → · Palette generator →

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