#1E207D#1E207D

#1E207D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.152 H 272.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1E207D
RGBrgb(30, 32, 125)
HSLhsl(239, 61%, 30%)
HSVhsv(239, 76%, 49%)
CMYKcmyk(76%, 74.4%, 0%, 51%)
CIE-LABlab(19.18, 32.57, -52.44)
CIE-LCHlch(19.18, 61.73, 301.84°)
OKLaboklab(31.7% 0.0071 -0.1517)
OKLCHoklch(31.7% 0.152 272.7)
XYZxyz(4.7524, 2.7892, 19.6860)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E207D #7D7B1E
analogous
#1E4F7D #1E207D #4B1E7D
triadic
#1E207D #7D1E20 #207D1E
tetradic
#1E207D #7D1E4F #7D7B1E #1E7D4B
square
#1E207D #7D1E4F #7D7B1E #1E7D4B
split-complementary
#1E207D #7D4B1E #4F7D1E
monochromatic
#06071A #12134C #1E207D #2A2DAE #4346D2

Accessibility & contrast

On white

13.48
#1E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E207D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E207D#FFFFFF#000000##FFFFFF
##1E207D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e207d;
/* rgb */ color: rgb(30, 32, 125);
/* oklch */ color: oklch(31.7% 0.152 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a5ca4',
    500: '#1e207d',
    950: '#000000',
  },
}
SCSS
$custom: #1e207d;
$custom-light: #6a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e207d",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 238.737,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.15188,
    "h": 272.7
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#1E207D
secondary
#B0AE46
accent
#E143E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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