#1E3799#1E3799

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

Color values

HEX#1E3799
RGBrgb(30, 55, 153)
HSLhsl(228, 67%, 36%)
HSVhsv(228, 80%, 60%)
CMYKcmyk(80.4%, 64.1%, 0%, 40%)
CIE-LABlab(27.59, 27.97, -56.06)
CIE-LCHlch(27.59, 62.65, 296.52°)
OKLaboklab(38.66% -0.0084 -0.1622)
OKLCHoklch(38.66% 0.162 267)
XYZxyz(7.6494, 5.3074, 30.7521)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3799 #99801E
analogous
#1E7499 #1E3799 #421E99
triadic
#1E3799 #991E37 #37991E
tetradic
#1E3799 #991E74 #99801E #1E9942
square
#1E3799 #991E74 #99801E #1E9942
split-complementary
#1E3799 #99421E #74991E
monochromatic
#0A1233 #142566 #1E3799 #2849CC #5470DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E3799#FFFFFF#000000##FFFFFF
##1E37991.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)
#00479C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e3799;
/* rgb */ color: rgb(30, 55, 153);
/* oklch */ color: oklch(38.7% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#706db8',
    500: '#1e3799',
    950: '#000000',
  },
}
SCSS
$custom: #1e3799;
$custom-light: #706db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3799",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 227.805,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.16242,
    "h": 267
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#1E3799
secondary
#C1AA52
accent
#C73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3799

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

Preview Lab → · Contrast checker → · Palette generator →

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