#1E398C#1E398C

#1E398C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.142 H 266.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1E398C
RGBrgb(30, 57, 140)
HSLhsl(225, 65%, 33%)
HSVhsv(225, 79%, 55%)
CMYKcmyk(78.6%, 59.3%, 0%, 45.1%)
CIE-LABlab(27.00, 21.50, -49.03)
CIE-LCHlch(27.00, 53.54, 293.68°)
OKLaboklab(37.87% -0.0099 -0.1415)
OKLCHoklch(37.87% 0.142 266)
XYZxyz(6.7305, 5.0950, 25.4346)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398C #8C711E
analogous
#1E708C #1E398C #3A1E8C
triadic
#1E398C #8C1E39 #398C1E
tetradic
#1E398C #8C1E70 #8C711E #1E8C3A
square
#1E398C #8C1E70 #8C711E #1E8C3A
split-complementary
#1E398C #8C3A1E #708C1E
monochromatic
#081027 #13245A #1E398C #294EBE #4C6ED9

Accessibility & contrast

On white

10.40
#1E398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1E398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E398C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398C#FFFFFF#000000##FFFFFF
##1E398C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e398c;
/* rgb */ color: rgb(30, 57, 140);
/* oklch */ color: oklch(37.9% 0.142 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6fae',
    500: '#1e398c',
    950: '#000000',
  },
}
SCSS
$custom: #1e398c;
$custom-light: #6c6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398c",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 225.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.1419,
    "h": 266
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#1E398C
secondary
#BBA04B
accent
#BF40E8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E398C

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

Preview Lab → · Contrast checker → · Palette generator →

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