#1E3889#1E3889

#1E3889 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.139 H 266.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#1E3889
RGBrgb(30, 56, 137)
HSLhsl(225, 64%, 33%)
HSVhsv(225, 78%, 54%)
CMYKcmyk(78.1%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.48, 21.00, -48.03)
CIE-LCHlch(26.48, 52.42, 293.61°)
OKLaboklab(37.4% -0.0093 -0.1386)
OKLCHoklch(37.4% 0.139 266.2)
XYZxyz(6.4634, 4.9098, 24.2691)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3889 #896F1E
analogous
#1E6D89 #1E3889 #3A1E89
triadic
#1E3889 #891E38 #38891E
tetradic
#1E3889 #891E6D #896F1E #1E893A
square
#1E3889 #891E6D #896F1E #1E893A
split-complementary
#1E3889 #893A1E #6D891E
monochromatic
#080F25 #132357 #1E3889 #294DBB #4A6CD7

Accessibility & contrast

On white

10.59
#1E3889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E3889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3889
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3889#FFFFFF#000000##FFFFFF
##1E38891.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e3889;
/* rgb */ color: rgb(30, 56, 137);
/* oklch */ color: oklch(37.4% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b6eac',
    500: '#1e3889',
    950: '#000000',
  },
}
SCSS
$custom: #1e3889;
$custom-light: #6b6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3889",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 225.421,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.13894,
    "h": 266.2
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#1E3889
secondary
#BA9E49
accent
#BF41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3889

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

Preview Lab → · Contrast checker → · Palette generator →

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