#1E3394#1E3394

#1E3394 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.161 H 267.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#1E3394
RGBrgb(30, 51, 148)
HSLhsl(229, 66%, 35%)
HSVhsv(229, 80%, 58%)
CMYKcmyk(79.7%, 65.5%, 0%, 42%)
CIE-LABlab(26.10, 28.74, -55.44)
CIE-LCHlch(26.10, 62.44, 297.40°)
OKLaboklab(37.42% -0.006 -0.1604)
OKLCHoklch(37.42% 0.161 267.9)
XYZxyz(7.0627, 4.7810, 28.5618)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3394 #947F1E
analogous
#1E6E94 #1E3394 #441E94
triadic
#1E3394 #941E33 #33941E
tetradic
#1E3394 #941E6E #947F1E #1E9444
square
#1E3394 #941E6E #947F1E #1E9444
split-complementary
#1E3394 #94441E #6E941E
monochromatic
#09102E #142161 #1E3394 #2845C7 #5169DC

Accessibility & contrast

On white

10.73
#1E3394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3394
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3394#FFFFFF#000000##FFFFFF
##1E33941.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3394;
/* rgb */ color: rgb(30, 51, 148);
/* oklch */ color: oklch(37.4% 0.161 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ab4',
    500: '#1e3394',
    950: '#000000',
  },
}
SCSS
$custom: #1e3394;
$custom-light: #6f6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3394",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 229.322,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.16053,
    "h": 267.9
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#1E3394
secondary
#BFAB4F
accent
#CB3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3394

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

Preview Lab → · Contrast checker → · Palette generator →

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