#1E3789#1E3789

#1E3789 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.140 H 266.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1E3789
RGBrgb(30, 55, 137)
HSLhsl(226, 64%, 33%)
HSVhsv(226, 78%, 54%)
CMYKcmyk(78.1%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.20, 21.69, -48.48)
CIE-LCHlch(26.20, 53.11, 294.11°)
OKLaboklab(37.19% -0.0086 -0.14)
OKLCHoklch(37.19% 0.14 266.5)
XYZxyz(6.4154, 4.8138, 24.2531)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3789 #89701E
analogous
#1E6D89 #1E3789 #3A1E89
triadic
#1E3789 #891E37 #37891E
tetradic
#1E3789 #891E6D #89701E #1E893A
square
#1E3789 #891E6D #89701E #1E893A
split-complementary
#1E3789 #893A1E #6D891E
monochromatic
#080F25 #132357 #1E3789 #294BBB #4A6BD7

Accessibility & contrast

On white

10.70
#1E3789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E3789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3789
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3789#FFFFFF#000000##FFFFFF
##1E37891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3789;
/* rgb */ color: rgb(30, 55, 137);
/* oklch */ color: oklch(37.2% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6dac',
    500: '#1e3789',
    950: '#000000',
  },
}
SCSS
$custom: #1e3789;
$custom-light: #6b6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3789",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 225.981,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37188,
    "c": 0.14024,
    "h": 266.5
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#1E3789
secondary
#BA9F49
accent
#C041E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3789

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

Preview Lab → · Contrast checker → · Palette generator →

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