#1E208F#1E208F

#1E208F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 271.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1E208F
RGBrgb(30, 32, 143)
HSLhsl(239, 65%, 34%)
HSVhsv(239, 79%, 56%)
CMYKcmyk(79%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.18, 38.94, -60.46)
CIE-LCHlch(21.18, 71.91, 302.78°)
OKLaboklab(33.71% 0.0039 -0.175)
OKLCHoklch(33.71% 0.175 271.3)
XYZxyz(6.0082, 3.2916, 26.3000)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E208F #8F8D1E
analogous
#1E598F #1E208F #551E8F
triadic
#1E208F #8F1E20 #208F1E
tetradic
#1E208F #8F1E59 #8F8D1E #1E8F55
square
#1E208F #8F1E59 #8F8D1E #1E8F55
split-complementary
#1E208F #8F551E #598F1E
monochromatic
#09092A #13155C #1E208F #292BC2 #4E50DA

Accessibility & contrast

On white

12.66
#1E208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E208F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E208F#FFFFFF#000000##FFFFFF
##1E208F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e208f;
/* rgb */ color: rgb(30, 32, 143);
/* oklch */ color: oklch(33.7% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f5db1',
    500: '#1e208f',
    950: '#000000',
  },
}
SCSS
$custom: #1e208f;
$custom-light: #6f5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e208f",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 238.938,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.17509,
    "h": 271.3
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#1E208F
secondary
#BCBA4C
accent
#E540E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E208F

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

Preview Lab → · Contrast checker → · Palette generator →

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