#1E378E#1E378E

#1E378E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.147 H 266.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1E378E
RGBrgb(30, 55, 142)
HSLhsl(227, 65%, 34%)
HSVhsv(227, 79%, 56%)
CMYKcmyk(78.9%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.62, 23.67, -50.89)
CIE-LCHlch(26.62, 56.12, 294.95°)
OKLaboklab(37.64% -0.0084 -0.147)
OKLCHoklch(37.64% 0.147 266.7)
XYZxyz(6.7824, 4.9606, 26.1860)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378E #8E751E
analogous
#1E6F8E #1E378E #3D1E8E
triadic
#1E378E #8E1E37 #378E1E
tetradic
#1E378E #8E1E6F #8E751E #1E8E3D
square
#1E378E #8E1E6F #8E751E #1E8E3D
split-complementary
#1E378E #8E3D1E #6F8E1E
monochromatic
#091029 #13235B #1E378E #294BC1 #4D6CD9

Accessibility & contrast

On white

10.54
#1E378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E378E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378E#FFFFFF#000000##FFFFFF
##1E378E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e378e;
/* rgb */ color: rgb(30, 55, 142);
/* oklch */ color: oklch(37.6% 0.147 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d6db0',
    500: '#1e378e',
    950: '#000000',
  },
}
SCSS
$custom: #1e378e;
$custom-light: #6d6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378e",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 226.607,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.14728,
    "h": 266.7
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#1E378E
secondary
#BCA34C
accent
#C340E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E378E

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

Preview Lab → · Contrast checker → · Palette generator →

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