#1E397D#1E397D

#1E397D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.120 H 264.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1E397D
RGBrgb(30, 57, 125)
HSLhsl(223, 61%, 30%)
HSVhsv(223, 76%, 49%)
CMYKcmyk(76%, 54.4%, 0%, 51%)
CIE-LABlab(25.81, 15.48, -41.61)
CIE-LCHlch(25.81, 44.39, 290.41°)
OKLaboklab(36.59% -0.011 -0.1197)
OKLCHoklch(36.59% 0.12 264.8)
XYZxyz(5.6989, 4.6823, 20.0015)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E397D #7D621E
analogous
#1E687D #1E397D #321E7D
triadic
#1E397D #7D1E39 #397D1E
tetradic
#1E397D #7D1E68 #7D621E #1E7D32
square
#1E397D #7D1E68 #7D621E #1E7D32
split-complementary
#1E397D #7D321E #687D1E
monochromatic
#060C1A #12224C #1E397D #2A50AE #436CD2

Accessibility & contrast

On white

10.84
#1E397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E397D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E397D#FFFFFF#000000##FFFFFF
##1E397D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A427F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e397d;
/* rgb */ color: rgb(30, 57, 125);
/* oklch */ color: oklch(36.6% 0.120 264.8);
Tailwind
colors: {
  custom: {
    50: '#686ea3',
    500: '#1e397d',
    950: '#000000',
  },
}
SCSS
$custom: #1e397d;
$custom-light: #686ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e397d",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 222.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.12023,
    "h": 264.8
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#1E397D
secondary
#B09246
accent
#B743E4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E397D

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

Preview Lab → · Contrast checker → · Palette generator →

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