#1E378C#1E378C

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

Color values

HEX#1E378C
RGBrgb(30, 55, 140)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(78.6%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.45, 22.88, -49.93)
CIE-LCHlch(26.45, 54.92, 294.62°)
OKLaboklab(37.46% -0.0085 -0.1442)
OKLCHoklch(37.46% 0.144 266.6)
XYZxyz(6.6336, 4.9011, 25.4023)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378C #8C731E
analogous
#1E6E8C #1E378C #3C1E8C
triadic
#1E378C #8C1E37 #378C1E
tetradic
#1E378C #8C1E6E #8C731E #1E8C3C
square
#1E378C #8C1E6E #8C731E #1E8C3C
split-complementary
#1E378C #8C3C1E #6E8C1E
monochromatic
#080F27 #13235A #1E378C #294BBE #4C6CD9

Accessibility & contrast

On white

10.60
#1E378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E378C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378C#FFFFFF#000000##FFFFFF
##1E378C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e378c;
/* rgb */ color: rgb(30, 55, 140);
/* oklch */ color: oklch(37.5% 0.144 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6dae',
    500: '#1e378c',
    950: '#000000',
  },
}
SCSS
$custom: #1e378c;
$custom-light: #6c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378c",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 226.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.14448,
    "h": 266.6
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#1E378C
secondary
#BBA24B
accent
#C240E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E378C

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

Preview Lab → · Contrast checker → · Palette generator →

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