#1E387D#1E387D

#1E387D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.122 H 265.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1E387D
RGBrgb(30, 56, 125)
HSLhsl(224, 61%, 30%)
HSVhsv(224, 76%, 49%)
CMYKcmyk(76%, 55.2%, 0%, 51%)
CIE-LABlab(25.52, 16.19, -42.08)
CIE-LCHlch(25.52, 45.09, 291.04°)
OKLaboklab(36.37% -0.0101 -0.1211)
OKLCHoklch(36.37% 0.122 265.2)
XYZxyz(5.6500, 4.5844, 19.9852)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387D #7D631E
analogous
#1E677D #1E387D #331E7D
triadic
#1E387D #7D1E38 #387D1E
tetradic
#1E387D #7D1E67 #7D631E #1E7D33
square
#1E387D #7D1E67 #7D631E #1E7D33
split-complementary
#1E387D #7D331E #677D1E
monochromatic
#060C1A #12224C #1E387D #2A4EAE #436AD2

Accessibility & contrast

On white

10.95
#1E387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E387D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387D#FFFFFF#000000##FFFFFF
##1E387D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e387d;
/* rgb */ color: rgb(30, 56, 125);
/* oklch */ color: oklch(36.4% 0.122 265.2);
Tailwind
colors: {
  custom: {
    50: '#686ea3',
    500: '#1e387d',
    950: '#000000',
  },
}
SCSS
$custom: #1e387d;
$custom-light: #686ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387d",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 223.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.12156,
    "h": 265.2
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#1E387D
secondary
#B09346
accent
#B843E4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E387D

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

Preview Lab → · Contrast checker → · Palette generator →

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