#1E3899#1E3899

#1E3899 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.161 H 266.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1E3899
RGBrgb(30, 56, 153)
HSLhsl(227, 67%, 36%)
HSVhsv(227, 80%, 60%)
CMYKcmyk(80.4%, 63.4%, 0%, 40%)
CIE-LABlab(27.85, 27.30, -55.63)
CIE-LCHlch(27.85, 61.97, 296.14°)
OKLaboklab(38.85% -0.0091 -0.1609)
OKLCHoklch(38.85% 0.161 266.8)
XYZxyz(7.6974, 5.4034, 30.7681)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3899 #997F1E
analogous
#1E7599 #1E3899 #411E99
triadic
#1E3899 #991E38 #38991E
tetradic
#1E3899 #991E75 #997F1E #1E9941
square
#1E3899 #991E75 #997F1E #1E9941
split-complementary
#1E3899 #99411E #75991E
monochromatic
#0A1333 #142566 #1E3899 #284BCC #5471DD

Accessibility & contrast

On white

10.09
#1E3899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1E3899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3899
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3899#FFFFFF#000000##FFFFFF
##1E38991.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e3899;
/* rgb */ color: rgb(30, 56, 153);
/* oklch */ color: oklch(38.9% 0.161 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f6eb8',
    500: '#1e3899',
    950: '#000000',
  },
}
SCSS
$custom: #1e3899;
$custom-light: #6f6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3899",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 227.317,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.16119,
    "h": 266.8
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#1E3899
secondary
#C1A952
accent
#C63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3899

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

Preview Lab → · Contrast checker → · Palette generator →

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