#1E398A#1E398A

#1E398A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.139 H 265.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1E398A
RGBrgb(30, 57, 138)
HSLhsl(225, 64%, 33%)
HSVhsv(225, 78%, 54%)
CMYKcmyk(78.3%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.84, 20.70, -48.06)
CIE-LCHlch(26.84, 52.33, 293.30°)
OKLaboklab(37.7% -0.01 -0.1387)
OKLCHoklch(37.7% 0.139 265.9)
XYZxyz(6.5844, 5.0365, 24.6650)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398A #8A6F1E
analogous
#1E6F8A #1E398A #391E8A
triadic
#1E398A #8A1E39 #398A1E
tetradic
#1E398A #8A1E6F #8A6F1E #1E8A39
square
#1E398A #8A1E6F #8A6F1E #1E8A39
split-complementary
#1E398A #8A391E #6F8A1E
monochromatic
#080F25 #132458 #1E398A #294EBC #4B6ED8

Accessibility & contrast

On white

10.46
#1E398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E398A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398A#FFFFFF#000000##FFFFFF
##1E398A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e398a;
/* rgb */ color: rgb(30, 57, 138);
/* oklch */ color: oklch(37.7% 0.139 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b6ead',
    500: '#1e398a',
    950: '#000000',
  },
}
SCSS
$custom: #1e398a;
$custom-light: #6b6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398a",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 225,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37695,
    "c": 0.13906,
    "h": 265.9
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#1E398A
secondary
#BA9E4A
accent
#BE41E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E398A

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

Preview Lab → · Contrast checker → · Palette generator →

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