#1E378F#1E378F

#1E378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.149 H 266.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#1E378F
RGBrgb(30, 55, 143)
HSLhsl(227, 65%, 34%)
HSVhsv(227, 79%, 56%)
CMYKcmyk(79%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.71, 24.07, -51.37)
CIE-LCHlch(26.71, 56.72, 295.10°)
OKLaboklab(37.73% -0.0084 -0.1484)
OKLCHoklch(37.73% 0.149 266.8)
XYZxyz(6.8578, 4.9908, 26.5832)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378F #8F761E
analogous
#1E708F #1E378F #3E1E8F
triadic
#1E378F #8F1E37 #378F1E
tetradic
#1E378F #8F1E70 #8F761E #1E8F3E
square
#1E378F #8F1E70 #8F761E #1E8F3E
split-complementary
#1E378F #8F3E1E #708F1E
monochromatic
#09102A #13245C #1E378F #294AC2 #4E6DDA

Accessibility & contrast

On white

10.51
#1E378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E378F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378F#FFFFFF#000000##FFFFFF
##1E378F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e378f;
/* rgb */ color: rgb(30, 55, 143);
/* oklch */ color: oklch(37.7% 0.149 266.8);
Tailwind
colors: {
  custom: {
    50: '#6d6db1',
    500: '#1e378f',
    950: '#000000',
  },
}
SCSS
$custom: #1e378f;
$custom-light: #6d6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378f",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 226.726,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.14868,
    "h": 266.8
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#1E378F
secondary
#BCA44C
accent
#C340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E378F

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

Preview Lab → · Contrast checker → · Palette generator →

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