#1E398D#1E398D

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

Color values

HEX#1E398D
RGBrgb(30, 57, 141)
HSLhsl(225, 65%, 34%)
HSVhsv(225, 79%, 55%)
CMYKcmyk(78.7%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.09, 21.90, -49.51)
CIE-LCHlch(27.09, 54.14, 293.86°)
OKLaboklab(37.96% -0.0099 -0.143)
OKLCHoklch(37.96% 0.143 266.1)
XYZxyz(6.8046, 5.1246, 25.8247)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398D #8D721E
analogous
#1E708D #1E398D #3A1E8D
triadic
#1E398D #8D1E39 #398D1E
tetradic
#1E398D #8D1E70 #8D721E #1E8D3A
square
#1E398D #8D1E70 #8D721E #1E8D3A
split-complementary
#1E398D #8D3A1E #708D1E
monochromatic
#091028 #13255B #1E398D #294DBF #4C6FD9

Accessibility & contrast

On white

10.37
#1E398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E398D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398D#FFFFFF#000000##FFFFFF
##1E398D1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e398d;
/* rgb */ color: rgb(30, 57, 141);
/* oklch */ color: oklch(38.0% 0.143 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c6faf',
    500: '#1e398d',
    950: '#000000',
  },
}
SCSS
$custom: #1e398d;
$custom-light: #6c6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398d",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 225.405,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.14331,
    "h": 266.1
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E398D

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

Preview Lab → · Contrast checker → · Palette generator →

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