#1E358E#1E358E

#1E358E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.150 H 267.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#1E358E
RGBrgb(30, 53, 142)
HSLhsl(228, 65%, 34%)
HSVhsv(228, 79%, 56%)
CMYKcmyk(78.9%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.08, 25.05, -51.77)
CIE-LCHlch(26.08, 57.51, 295.82°)
OKLaboklab(37.24% -0.0071 -0.1496)
OKLCHoklch(37.24% 0.15 267.3)
XYZxyz(6.6893, 4.7745, 26.1550)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E358E #8E771E
analogous
#1E6D8E #1E358E #3F1E8E
triadic
#1E358E #8E1E35 #358E1E
tetradic
#1E358E #8E1E6D #8E771E #1E8E3F
square
#1E358E #8E1E6D #8E771E #1E8E3F
split-complementary
#1E358E #8E3F1E #6D8E1E
monochromatic
#090F29 #13225B #1E358E #2948C1 #4D6AD9

Accessibility & contrast

On white

10.74
#1E358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E358E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E358E#FFFFFF#000000##FFFFFF
##1E358E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e358e;
/* rgb */ color: rgb(30, 53, 142);
/* oklch */ color: oklch(37.2% 0.150 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cb0',
    500: '#1e358e',
    950: '#000000',
  },
}
SCSS
$custom: #1e358e;
$custom-light: #6d6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e358e",
  "rgb": {
    "r": 30,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 227.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.14982,
    "h": 267.3
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#1E358E
secondary
#BCA54C
accent
#C640E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E358E

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

Preview Lab → · Contrast checker → · Palette generator →

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