#1E378A#1E378A

#1E378A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.142 H 266.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1E378A
RGBrgb(30, 55, 138)
HSLhsl(226, 64%, 33%)
HSVhsv(226, 78%, 54%)
CMYKcmyk(78.3%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.28, 22.09, -48.97)
CIE-LCHlch(26.28, 53.72, 294.28°)
OKLaboklab(37.28% -0.0085 -0.1414)
OKLCHoklch(37.28% 0.142 266.5)
XYZxyz(6.4874, 4.8427, 24.6326)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378A #8A711E
analogous
#1E6D8A #1E378A #3B1E8A
triadic
#1E378A #8A1E37 #378A1E
tetradic
#1E378A #8A1E6D #8A711E #1E8A3B
square
#1E378A #8A1E6D #8A711E #1E8A3B
split-complementary
#1E378A #8A3B1E #6D8A1E
monochromatic
#080F25 #132358 #1E378A #294BBC #4B6BD8

Accessibility & contrast

On white

10.67
#1E378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E378A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378A#FFFFFF#000000##FFFFFF
##1E378A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e378a;
/* rgb */ color: rgb(30, 55, 138);
/* oklch */ color: oklch(37.3% 0.142 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c6dad',
    500: '#1e378a',
    950: '#000000',
  },
}
SCSS
$custom: #1e378a;
$custom-light: #6c6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378a",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 226.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.14166,
    "h": 266.5
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#1E378A
secondary
#BAA04A
accent
#C141E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E378A

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

Preview Lab → · Contrast checker → · Palette generator →

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