#1E398F#1E398F

#1E398F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.146 H 266.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1E398F
RGBrgb(30, 57, 143)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 56%)
CMYKcmyk(79%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.25, 22.69, -50.47)
CIE-LCHlch(27.25, 55.34, 294.20°)
OKLaboklab(38.14% -0.0098 -0.1458)
OKLCHoklch(38.14% 0.146 266.2)
XYZxyz(6.9547, 5.1847, 26.6155)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398F #8F741E
analogous
#1E728F #1E398F #3C1E8F
triadic
#1E398F #8F1E39 #398F1E
tetradic
#1E398F #8F1E72 #8F741E #1E8F3C
square
#1E398F #8F1E72 #8F741E #1E8F3C
split-complementary
#1E398F #8F3C1E #728F1E
monochromatic
#09112A #13255C #1E398F #294DC2 #4E6FDA

Accessibility & contrast

On white

10.31
#1E398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1E398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E398F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398F#FFFFFF#000000##FFFFFF
##1E398F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e398f;
/* rgb */ color: rgb(30, 57, 143);
/* oklch */ color: oklch(38.1% 0.146 266.2);
Tailwind
colors: {
  custom: {
    50: '#6d6fb1',
    500: '#1e398f',
    950: '#000000',
  },
}
SCSS
$custom: #1e398f;
$custom-light: #6d6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398f",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 225.664,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.14613,
    "h": 266.2
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#1E398F
secondary
#BCA24C
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E398F

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

Preview Lab → · Contrast checker → · Palette generator →

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