#1E399E#1E399E

#1E399E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.167 H 266.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1E399E
RGBrgb(30, 57, 158)
HSLhsl(227, 68%, 37%)
HSVhsv(227, 81%, 62%)
CMYKcmyk(81%, 63.9%, 0%, 38%)
CIE-LABlab(28.56, 28.56, -57.52)
CIE-LCHlch(28.56, 64.22, 296.41°)
OKLaboklab(39.52% -0.0097 -0.1664)
OKLCHoklch(39.52% 0.167 266.7)
XYZxyz(8.1679, 5.6699, 33.0050)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E399E #9E831E
analogous
#1E799E #1E399E #431E9E
triadic
#1E399E #9E1E39 #399E1E
tetradic
#1E399E #9E1E79 #9E831E #1E9E43
square
#1E399E #9E1E79 #9E831E #1E9E43
split-complementary
#1E399E #9E431E #799E1E
monochromatic
#0A1437 #14266B #1E399E #284CD1 #5774DF

Accessibility & contrast

On white

9.84
#1E399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E399E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E399E#FFFFFF#000000##FFFFFF
##1E399E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e399e;
/* rgb */ color: rgb(30, 57, 158);
/* oklch */ color: oklch(39.5% 0.167 266.7);
Tailwind
colors: {
  custom: {
    50: '#716fbc',
    500: '#1e399e',
    950: '#000000',
  },
}
SCSS
$custom: #1e399e;
$custom-light: #716fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e399e",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 227.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.16672,
    "h": 266.7
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E399E

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

Preview Lab → · Contrast checker → · Palette generator →

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