#1E209E#1E209E

#1E209E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.194 H 270.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1E209E
RGBrgb(30, 32, 158)
HSLhsl(239, 68%, 37%)
HSVhsv(239, 81%, 62%)
CMYKcmyk(81%, 79.7%, 0%, 38%)
CIE-LABlab(22.92, 44.01, -66.82)
CIE-LCHlch(22.92, 80.01, 303.37°)
OKLaboklab(35.44% 0.001 -0.1935)
OKLCHoklch(35.44% 0.194 270.3)
XYZxyz(7.2214, 3.7768, 32.6895)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E209E #9E9C1E
analogous
#1E609E #1E209E #5C1E9E
triadic
#1E209E #9E1E20 #209E1E
tetradic
#1E209E #9E1E60 #9E9C1E #1E9E5C
square
#1E209E #9E1E60 #9E9C1E #1E9E5C
split-complementary
#1E209E #9E5C1E #609E1E
monochromatic
#0A0B37 #14166B #1E209E #282AD1 #5759DF

Accessibility & contrast

On white

11.96
#1E209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E209E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E209E#FFFFFF#000000##FFFFFF
##1E209E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e209e;
/* rgb */ color: rgb(30, 32, 158);
/* oklch */ color: oklch(35.4% 0.194 270.3);
Tailwind
colors: {
  custom: {
    50: '#735ebc',
    500: '#1e209e',
    950: '#000000',
  },
}
SCSS
$custom: #1e209e;
$custom-light: #735ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e209e",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 239.063,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35444,
    "c": 0.1935,
    "h": 270.3
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#1E209E
secondary
#C3C155
accent
#E83DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E209E

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

Preview Lab → · Contrast checker → · Palette generator →

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