#1E3896#1E3896

#1E3896 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.157 H 266.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1E3896
RGBrgb(30, 56, 150)
HSLhsl(227, 67%, 35%)
HSVhsv(227, 80%, 59%)
CMYKcmyk(80%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.59, 26.13, -54.23)
CIE-LCHlch(27.59, 60.20, 295.72°)
OKLaboklab(38.57% -0.009 -0.1568)
OKLCHoklch(38.57% 0.157 266.7)
XYZxyz(7.4527, 5.3055, 29.4795)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3896 #967C1E
analogous
#1E7496 #1E3896 #401E96
triadic
#1E3896 #961E38 #38961E
tetradic
#1E3896 #961E74 #967C1E #1E9640
square
#1E3896 #961E74 #967C1E #1E9640
split-complementary
#1E3896 #96401E #74961E
monochromatic
#0A1230 #142563 #1E3896 #284BC9 #5270DC

Accessibility & contrast

On white

10.19
#1E3896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1E3896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3896
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3896#FFFFFF#000000##FFFFFF
##1E38961.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3896;
/* rgb */ color: rgb(30, 56, 150);
/* oklch */ color: oklch(38.6% 0.157 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f6eb6',
    500: '#1e3896',
    950: '#000000',
  },
}
SCSS
$custom: #1e3896;
$custom-light: #6f6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3896",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 227,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.1571,
    "h": 266.7
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#1E3896
secondary
#BFA750
accent
#C43EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3896

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

Preview Lab → · Contrast checker → · Palette generator →

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