#1E3989#1E3989

#1E3989 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.138 H 265.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1E3989
RGBrgb(30, 57, 137)
HSLhsl(225, 64%, 33%)
HSVhsv(225, 78%, 54%)
CMYKcmyk(78.1%, 58.4%, 0%, 46.3%)
CIE-LABlab(26.76, 20.30, -47.57)
CIE-LCHlch(26.76, 51.72, 293.11°)
OKLaboklab(37.61% -0.01 -0.1373)
OKLCHoklch(37.61% 0.138 265.8)
XYZxyz(6.5123, 5.0077, 24.2854)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3989 #896E1E
analogous
#1E6E89 #1E3989 #391E89
triadic
#1E3989 #891E39 #39891E
tetradic
#1E3989 #891E6E #896E1E #1E8939
square
#1E3989 #891E6E #896E1E #1E8939
split-complementary
#1E3989 #89391E #6E891E
monochromatic
#080F25 #132457 #1E3989 #294EBB #4A6ED7

Accessibility & contrast

On white

10.49
#1E3989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E3989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3989
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3989#FFFFFF#000000##FFFFFF
##1E39891.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e3989;
/* rgb */ color: rgb(30, 57, 137);
/* oklch */ color: oklch(37.6% 0.138 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b6eac',
    500: '#1e3989',
    950: '#000000',
  },
}
SCSS
$custom: #1e3989;
$custom-light: #6b6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3989",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 224.86,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.13764,
    "h": 265.8
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#1E3989
secondary
#BA9D49
accent
#BD41E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3989

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

Preview Lab → · Contrast checker → · Palette generator →

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