#1E39A7#1E39A7

#1E39A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.179 H 266.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1E39A7
RGBrgb(30, 57, 167)
HSLhsl(228, 70%, 39%)
HSVhsv(228, 82%, 65%)
CMYKcmyk(82%, 65.9%, 0%, 34.5%)
CIE-LABlab(29.39, 32.01, -61.60)
CIE-LCHlch(29.39, 69.42, 297.45°)
OKLaboklab(40.38% -0.0099 -0.1784)
OKLCHoklch(40.38% 0.179 266.8)
XYZxyz(8.9712, 5.9912, 37.2353)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E39A7 #A78C1E
analogous
#1E7DA7 #1E39A7 #471EA7
triadic
#1E39A7 #A71E39 #39A71E
tetradic
#1E39A7 #A71E7D #A78C1E #1EA747
square
#1E39A7 #A71E7D #A78C1E #1EA747
split-complementary
#1E39A7 #A7471E #7DA71E
monochromatic
#0B163F #152773 #1E39A7 #2A4CD9 #5D78E2

Accessibility & contrast

On white

9.55
#1E39A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1E39A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E39A7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E39A7#FFFFFF#000000##FFFFFF
##1E39A71.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e39a7;
/* rgb */ color: rgb(30, 57, 167);
/* oklch */ color: oklch(40.4% 0.179 266.8);
Tailwind
colors: {
  custom: {
    50: '#736fc2',
    500: '#1e39a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e39a7;
$custom-light: #736fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e39a7",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 228.175,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.17867,
    "h": 266.8
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#1E39A7
secondary
#C6B15B
accent
#C93BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E39A7

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

Preview Lab → · Contrast checker → · Palette generator →

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