#1E399D#1E399D

#1E399D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.165 H 266.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1E399D
RGBrgb(30, 57, 157)
HSLhsl(227, 68%, 37%)
HSVhsv(227, 81%, 62%)
CMYKcmyk(80.9%, 63.7%, 0%, 38.4%)
CIE-LABlab(28.47, 28.17, -57.05)
CIE-LCHlch(28.47, 63.63, 296.28°)
OKLaboklab(39.42% -0.0097 -0.1651)
OKLCHoklch(39.42% 0.165 266.6)
XYZxyz(8.0822, 5.6357, 32.5536)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E399D #9D821E
analogous
#1E799D #1E399D #431E9D
triadic
#1E399D #9D1E39 #399D1E
tetradic
#1E399D #9D1E79 #9D821E #1E9D43
square
#1E399D #9D1E79 #9D821E #1E9D43
split-complementary
#1E399D #9D431E #799D1E
monochromatic
#0A1436 #14266A #1E399D #284CD0 #5774DF

Accessibility & contrast

On white

9.87
#1E399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E399D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E399D#FFFFFF#000000##FFFFFF
##1E399D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e399d;
/* rgb */ color: rgb(30, 57, 157);
/* oklch */ color: oklch(39.4% 0.165 266.6);
Tailwind
colors: {
  custom: {
    50: '#706fbb',
    500: '#1e399d',
    950: '#000000',
  },
}
SCSS
$custom: #1e399d;
$custom-light: #706fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e399d",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 227.244,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.16537,
    "h": 266.6
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#1E399D
secondary
#C2AB54
accent
#C63DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1E399D

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

Preview Lab → · Contrast checker → · Palette generator →

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