#1E399C#1E399C

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

Color values

HEX#1E399C
RGBrgb(30, 57, 156)
HSLhsl(227, 68%, 36%)
HSVhsv(227, 81%, 61%)
CMYKcmyk(80.8%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.38, 27.79, -56.59)
CIE-LCHlch(28.38, 63.05, 296.15°)
OKLaboklab(39.33% -0.0097 -0.1637)
OKLCHoklch(39.33% 0.164 266.6)
XYZxyz(7.9972, 5.6016, 32.1058)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E399C #9C811E
analogous
#1E789C #1E399C #421E9C
triadic
#1E399C #9C1E39 #399C1E
tetradic
#1E399C #9C1E78 #9C811E #1E9C42
square
#1E399C #9C1E78 #9C811E #1E9C42
split-complementary
#1E399C #9C421E #789C1E
monochromatic
#0A1335 #142669 #1E399C #284CCF #5673DE

Accessibility & contrast

On white

9.90
#1E399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1E399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E399C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E399C#FFFFFF#000000##FFFFFF
##1E399C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e399c;
/* rgb */ color: rgb(30, 57, 156);
/* oklch */ color: oklch(39.3% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#706fba',
    500: '#1e399c',
    950: '#000000',
  },
}
SCSS
$custom: #1e399c;
$custom-light: #706fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e399c",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 227.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.16403,
    "h": 266.6
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#1E399C
secondary
#C2AA54
accent
#C53DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1E399C

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

Preview Lab → · Contrast checker → · Palette generator →

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