#1E398E#1E398E

#1E398E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.145 H 266.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#1E398E
RGBrgb(30, 57, 142)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 56%)
CMYKcmyk(78.9%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.17, 22.29, -49.99)
CIE-LCHlch(27.17, 54.74, 294.03°)
OKLaboklab(38.05% -0.0098 -0.1444)
OKLCHoklch(38.05% 0.145 266.1)
XYZxyz(6.8793, 5.1545, 26.2183)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398E #8E731E
analogous
#1E718E #1E398E #3B1E8E
triadic
#1E398E #8E1E39 #398E1E
tetradic
#1E398E #8E1E71 #8E731E #1E8E3B
square
#1E398E #8E1E71 #8E731E #1E8E3B
split-complementary
#1E398E #8E3B1E #718E1E
monochromatic
#091029 #13255B #1E398E #294DC1 #4D6FD9

Accessibility & contrast

On white

10.34
#1E398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1E398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E398E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398E#FFFFFF#000000##FFFFFF
##1E398E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e398e;
/* rgb */ color: rgb(30, 57, 142);
/* oklch */ color: oklch(38.0% 0.145 266.1);
Tailwind
colors: {
  custom: {
    50: '#6d6fb0',
    500: '#1e398e',
    950: '#000000',
  },
}
SCSS
$custom: #1e398e;
$custom-light: #6d6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398e",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 225.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38047,
    "c": 0.14472,
    "h": 266.1
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#1E398E
secondary
#BCA14C
accent
#BF40E8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E398E

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

Preview Lab → · Contrast checker → · Palette generator →

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