#1E378B#1E378B

#1E378B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.143 H 266.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1E378B
RGBrgb(30, 55, 139)
HSLhsl(226, 64%, 33%)
HSVhsv(226, 78%, 55%)
CMYKcmyk(78.4%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.37, 22.49, -49.45)
CIE-LCHlch(26.37, 54.32, 294.45°)
OKLaboklab(37.37% -0.0085 -0.1428)
OKLCHoklch(37.37% 0.143 266.6)
XYZxyz(6.5602, 4.8717, 25.0157)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378B #8B721E
analogous
#1E6D8B #1E378B #3C1E8B
triadic
#1E378B #8B1E37 #378B1E
tetradic
#1E378B #8B1E6D #8B721E #1E8B3C
square
#1E378B #8B1E6D #8B721E #1E8B3C
split-complementary
#1E378B #8B3C1E #6D8B1E
monochromatic
#080F26 #132359 #1E378B #294BBD #4B6CD8

Accessibility & contrast

On white

10.64
#1E378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E378B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378B#FFFFFF#000000##FFFFFF
##1E378B1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e378b;
/* rgb */ color: rgb(30, 55, 139);
/* oklch */ color: oklch(37.4% 0.143 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6dae',
    500: '#1e378b',
    950: '#000000',
  },
}
SCSS
$custom: #1e378b;
$custom-light: #6c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378b",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 226.239,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.14306,
    "h": 266.6
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#1E378B
secondary
#BBA14A
accent
#C140E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E378B

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

Preview Lab → · Contrast checker → · Palette generator →

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