#1E207E#1E207E

#1E207E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.153 H 272.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1E207E
RGBrgb(30, 32, 126)
HSLhsl(239, 62%, 31%)
HSVhsv(239, 76%, 49%)
CMYKcmyk(76.2%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.29, 32.93, -52.90)
CIE-LCHlch(19.29, 62.31, 301.90°)
OKLaboklab(31.8% 0.007 -0.153)
OKLCHoklch(31.8% 0.153 272.6)
XYZxyz(4.8166, 2.8149, 20.0241)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E207E #7E7C1E
analogous
#1E507E #1E207E #4C1E7E
triadic
#1E207E #7E1E20 #207E1E
tetradic
#1E207E #7E1E50 #7E7C1E #1E7E4C
square
#1E207E #7E1E50 #7E7C1E #1E7E4C
split-complementary
#1E207E #7E4C1E #507E1E
monochromatic
#06071B #12134D #1E207E #2A2DAF #4447D2

Accessibility & contrast

On white

13.44
#1E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E207E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E207E#FFFFFF#000000##FFFFFF
##1E207E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e207e;
/* rgb */ color: rgb(30, 32, 126);
/* oklch */ color: oklch(31.8% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ca4',
    500: '#1e207e',
    950: '#000000',
  },
}
SCSS
$custom: #1e207e;
$custom-light: #6b5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e207e",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 238.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.15321,
    "h": 272.6
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#1E207E
secondary
#B1AF47
accent
#E143E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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