#1E4291#1E4291

#1E4291 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.137 H 263.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1E4291
RGBrgb(30, 66, 145)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 79%, 57%)
CMYKcmyk(79.3%, 54.5%, 0%, 43.1%)
CIE-LABlab(29.95, 17.27, -47.32)
CIE-LCHlch(29.95, 50.38, 290.05°)
OKLaboklab(40.22% -0.0163 -0.1364)
OKLCHoklch(40.22% 0.137 263.2)
XYZxyz(7.5926, 6.2159, 27.5822)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4291 #916D1E
analogous
#1E7C91 #1E4291 #331E91
triadic
#1E4291 #911E42 #42911E
tetradic
#1E4291 #911E7C #916D1E #1E9133
square
#1E4291 #911E7C #916D1E #1E9133
split-complementary
#1E4291 #91331E #7C911E
monochromatic
#09142C #142B5E #1E4291 #2859C4 #4F7BDB

Accessibility & contrast

On white

9.36
#1E4291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1E4291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4291
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4291#FFFFFF#000000##FFFFFF
##1E42911.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4291;
/* rgb */ color: rgb(30, 66, 145);
/* oklch */ color: oklch(40.2% 0.137 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d75b2',
    500: '#1e4291',
    950: '#000000',
  },
}
SCSS
$custom: #1e4291;
$custom-light: #6d75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4291",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 221.217,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.13734,
    "h": 263.2
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#1E4291
secondary
#BD9A4D
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4291

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

Preview Lab → · Contrast checker → · Palette generator →

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