#1E3D91#1E3D91

#1E3D91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.144 H 265.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1E3D91
RGBrgb(30, 61, 145)
HSLhsl(224, 66%, 34%)
HSVhsv(224, 79%, 57%)
CMYKcmyk(79.3%, 57.9%, 0%, 43.1%)
CIE-LABlab(28.53, 20.72, -49.63)
CIE-LCHlch(28.53, 53.78, 292.66°)
OKLaboklab(39.14% -0.0126 -0.1432)
OKLCHoklch(39.14% 0.144 265)
XYZxyz(7.3132, 5.6570, 27.4891)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3D91 #91721E
analogous
#1E7791 #1E3D91 #391E91
triadic
#1E3D91 #911E3D #3D911E
tetradic
#1E3D91 #911E77 #91721E #1E9139
square
#1E3D91 #911E77 #91721E #1E9139
split-complementary
#1E3D91 #91391E #77911E
monochromatic
#09122C #14285E #1E3D91 #2852C4 #4F75DB

Accessibility & contrast

On white

9.85
#1E3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E3D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3D91
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3D91#FFFFFF#000000##FFFFFF
##1E3D911.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3d91;
/* rgb */ color: rgb(30, 61, 145);
/* oklch */ color: oklch(39.1% 0.144 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d72b2',
    500: '#1e3d91',
    950: '#000000',
  },
}
SCSS
$custom: #1e3d91;
$custom-light: #6d72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3d91",
  "rgb": {
    "r": 30,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 223.826,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.1438,
    "h": 265
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#1E3D91
secondary
#BD9F4D
accent
#BB3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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