#1E399B#1E399B

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

Color values

HEX#1E399B
RGBrgb(30, 57, 155)
HSLhsl(227, 68%, 36%)
HSVhsv(227, 81%, 61%)
CMYKcmyk(80.6%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.30, 27.40, -56.13)
CIE-LCHlch(28.30, 62.46, 296.02°)
OKLaboklab(39.23% -0.0097 -0.1624)
OKLCHoklch(39.23% 0.163 266.6)
XYZxyz(7.9129, 5.5679, 31.6617)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E399B #9B801E
analogous
#1E789B #1E399B #421E9B
triadic
#1E399B #9B1E39 #399B1E
tetradic
#1E399B #9B1E78 #9B801E #1E9B42
square
#1E399B #9B1E78 #9B801E #1E9B42
split-complementary
#1E399B #9B421E #789B1E
monochromatic
#0A1334 #142668 #1E399B #284CCE #5573DE

Accessibility & contrast

On white

9.93
#1E399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E399B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E399B#FFFFFF#000000##FFFFFF
##1E399B1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e399b;
/* rgb */ color: rgb(30, 57, 155);
/* oklch */ color: oklch(39.2% 0.163 266.6);
Tailwind
colors: {
  custom: {
    50: '#706fb9',
    500: '#1e399b',
    950: '#000000',
  },
}
SCSS
$custom: #1e399b;
$custom-light: #706fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e399b",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 227.04,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.16267,
    "h": 266.6
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#1E399B
secondary
#C2AA53
accent
#C53DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1E399B

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

Preview Lab → · Contrast checker → · Palette generator →

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