#1E4D91#1E4D91

#1E4D91 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.123 H 258.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1E4D91
RGBrgb(30, 77, 145)
HSLhsl(215, 66%, 34%)
HSVhsv(215, 79%, 57%)
CMYKcmyk(79.3%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.19, 9.77, -42.09)
CIE-LCHlch(33.19, 43.21, 283.07°)
OKLaboklab(42.7% -0.0254 -0.1207)
OKLCHoklch(42.7% 0.123 258.1)
XYZxyz(8.2983, 7.6271, 27.8174)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D91 #91621E
analogous
#1E8791 #1E4D91 #291E91
triadic
#1E4D91 #911E4D #4D911E
tetradic
#1E4D91 #911E87 #91621E #1E9129
square
#1E4D91 #911E87 #91621E #1E9129
split-complementary
#1E4D91 #91291E #87911E
monochromatic
#09172C #14325E #1E4D91 #2868C4 #4F88DB

Accessibility & contrast

On white

8.31
#1E4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D91
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D91#FFFFFF#000000##FFFFFF
##1E4D911.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#0D4990
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4d91;
/* rgb */ color: rgb(30, 77, 145);
/* oklch */ color: oklch(42.7% 0.123 258.1);
Tailwind
colors: {
  custom: {
    50: '#6c7eb2',
    500: '#1e4d91',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d91;
$custom-light: #6c7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d91",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 215.478,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.427,
    "c": 0.12339,
    "h": 258.1
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#1E4D91
secondary
#BD904D
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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