#1E3A91#1E3A91

#1E3A91 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.148 H 265.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1E3A91
RGBrgb(30, 58, 145)
HSLhsl(225, 66%, 34%)
HSVhsv(225, 79%, 57%)
CMYKcmyk(79.3%, 60%, 0%, 43.1%)
CIE-LABlab(27.70, 22.79, -50.98)
CIE-LCHlch(27.70, 55.85, 294.09°)
OKLaboklab(38.52% -0.0104 -0.1473)
OKLCHoklch(38.52% 0.148 265.9)
XYZxyz(7.1575, 5.3456, 27.4372)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3A91 #91751E
analogous
#1E7491 #1E3A91 #3C1E91
triadic
#1E3A91 #911E3A #3A911E
tetradic
#1E3A91 #911E74 #91751E #1E913C
square
#1E3A91 #911E74 #91751E #1E913C
split-complementary
#1E3A91 #913C1E #74911E
monochromatic
#09112C #14265E #1E3A91 #284EC4 #4F71DB

Accessibility & contrast

On white

10.15
#1E3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3A91
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3A91#FFFFFF#000000##FFFFFF
##1E3A911.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3a91;
/* rgb */ color: rgb(30, 58, 145);
/* oklch */ color: oklch(38.5% 0.148 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d6fb2',
    500: '#1e3a91',
    950: '#000000',
  },
}
SCSS
$custom: #1e3a91;
$custom-light: #6d6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3a91",
  "rgb": {
    "r": 30,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 225.391,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.14765,
    "h": 265.9
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#1E3A91
secondary
#BDA24D
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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