#1E208C#1E208C

#1E208C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.171 H 271.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1E208C
RGBrgb(30, 32, 140)
HSLhsl(239, 65%, 33%)
HSVhsv(239, 79%, 55%)
CMYKcmyk(78.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(20.84, 37.90, -59.15)
CIE-LCHlch(20.84, 70.25, 302.65°)
OKLaboklab(33.37% 0.0045 -0.1713)
OKLCHoklch(33.37% 0.171 271.5)
XYZxyz(5.7840, 3.2019, 25.1190)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E208C #8C8A1E
analogous
#1E578C #1E208C #531E8C
triadic
#1E208C #8C1E20 #208C1E
tetradic
#1E208C #8C1E57 #8C8A1E #1E8C53
square
#1E208C #8C1E57 #8C8A1E #1E8C53
split-complementary
#1E208C #8C531E #578C1E
monochromatic
#080927 #13145A #1E208C #292CBE #4C4ED9

Accessibility & contrast

On white

12.80
#1E208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E208C
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E208C#FFFFFF#000000##FFFFFF
##1E208C1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e208c;
/* rgb */ color: rgb(30, 32, 140);
/* oklch */ color: oklch(33.4% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e5daf',
    500: '#1e208c',
    950: '#000000',
  },
}
SCSS
$custom: #1e208c;
$custom-light: #6e5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e208c",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 238.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.17132,
    "h": 271.5
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#1E208C
secondary
#BBB94B
accent
#E540E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E208C

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

Preview Lab → · Contrast checker → · Palette generator →

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