#1E208D#1E208D

#1E208D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.173 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1E208D
RGBrgb(30, 32, 141)
HSLhsl(239, 65%, 34%)
HSVhsv(239, 79%, 55%)
CMYKcmyk(78.7%, 77.3%, 0%, 44.7%)
CIE-LABlab(20.95, 38.24, -59.59)
CIE-LCHlch(20.95, 70.81, 302.69°)
OKLaboklab(33.48% 0.0043 -0.1725)
OKLCHoklch(33.48% 0.173 271.4)
XYZxyz(5.8580, 3.2315, 25.5091)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E208D #8D8B1E
analogous
#1E578D #1E208D #531E8D
triadic
#1E208D #8D1E20 #208D1E
tetradic
#1E208D #8D1E57 #8D8B1E #1E8D53
square
#1E208D #8D1E57 #8D8B1E #1E8D53
split-complementary
#1E208D #8D531E #578D1E
monochromatic
#090928 #13155B #1E208D #292BBF #4C4FD9

Accessibility & contrast

On white

12.76
#1E208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E208D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E208D#FFFFFF#000000##FFFFFF
##1E208D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e208d;
/* rgb */ color: rgb(30, 32, 141);
/* oklch */ color: oklch(33.5% 0.173 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f5db0',
    500: '#1e208d',
    950: '#000000',
  },
}
SCSS
$custom: #1e208d;
$custom-light: #6f5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e208d",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 238.919,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33479,
    "c": 0.17258,
    "h": 271.4
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#1E208D
secondary
#BCBA4B
accent
#E540E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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