#1E387E#1E387E

#1E387E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.123 H 265.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1E387E
RGBrgb(30, 56, 126)
HSLhsl(224, 62%, 31%)
HSVhsv(224, 76%, 49%)
CMYKcmyk(76.2%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.59, 16.59, -42.59)
CIE-LCHlch(25.59, 45.70, 291.28°)
OKLaboklab(36.46% -0.01 -0.1226)
OKLCHoklch(36.46% 0.123 265.3)
XYZxyz(5.7142, 4.6101, 20.3233)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387E #7E641E
analogous
#1E687E #1E387E #341E7E
triadic
#1E387E #7E1E38 #387E1E
tetradic
#1E387E #7E1E68 #7E641E #1E7E34
square
#1E387E #7E1E68 #7E641E #1E7E34
split-complementary
#1E387E #7E341E #687E1E
monochromatic
#060C1B #12224D #1E387E #2A4EAF #446BD2

Accessibility & contrast

On white

10.92
#1E387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E387E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387E#FFFFFF#000000##FFFFFF
##1E387E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e387e;
/* rgb */ color: rgb(30, 56, 126);
/* oklch */ color: oklch(36.5% 0.123 265.3);
Tailwind
colors: {
  custom: {
    50: '#686ea4',
    500: '#1e387e',
    950: '#000000',
  },
}
SCSS
$custom: #1e387e;
$custom-light: #686ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387e",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 223.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.12304,
    "h": 265.3
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#1E387E
secondary
#B19447
accent
#B943E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E387E

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

Preview Lab → · Contrast checker → · Palette generator →

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