#1E378D#1E378D

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

Color values

HEX#1E378D
RGBrgb(30, 55, 141)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(78.7%, 61%, 0%, 44.7%)
CIE-LABlab(26.54, 23.28, -50.41)
CIE-LCHlch(26.54, 55.52, 294.79°)
OKLaboklab(37.55% -0.0084 -0.1456)
OKLCHoklch(37.55% 0.146 266.7)
XYZxyz(6.7076, 4.9307, 25.7923)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E378D #8D741E
analogous
#1E6E8D #1E378D #3C1E8D
triadic
#1E378D #8D1E37 #378D1E
tetradic
#1E378D #8D1E6E #8D741E #1E8D3C
square
#1E378D #8D1E6E #8D741E #1E8D3C
split-complementary
#1E378D #8D3C1E #6E8D1E
monochromatic
#091028 #13235B #1E378D #294BBF #4C6CD9

Accessibility & contrast

On white

10.57
#1E378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E378D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E378D#FFFFFF#000000##FFFFFF
##1E378D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e378d;
/* rgb */ color: rgb(30, 55, 141);
/* oklch */ color: oklch(37.5% 0.146 266.7);
Tailwind
colors: {
  custom: {
    50: '#6c6daf',
    500: '#1e378d',
    950: '#000000',
  },
}
SCSS
$custom: #1e378d;
$custom-light: #6c6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e378d",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 226.486,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37547,
    "c": 0.14588,
    "h": 266.7
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#1E378D
secondary
#BCA24B
accent
#C240E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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