#1E3393#1E3393

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

Color values

HEX#1E3393
RGBrgb(30, 51, 147)
HSLhsl(229, 66%, 35%)
HSVhsv(229, 80%, 58%)
CMYKcmyk(79.6%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.01, 28.35, -54.98)
CIE-LCHlch(26.01, 61.86, 297.28°)
OKLaboklab(37.32% -0.0059 -0.1591)
OKLCHoklch(37.32% 0.159 267.9)
XYZxyz(6.9839, 4.7495, 28.1468)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3393 #937E1E
analogous
#1E6E93 #1E3393 #441E93
triadic
#1E3393 #931E33 #33931E
tetradic
#1E3393 #931E6E #937E1E #1E9344
square
#1E3393 #931E6E #937E1E #1E9344
split-complementary
#1E3393 #93441E #6E931E
monochromatic
#09102D #142160 #1E3393 #2845C6 #5069DB

Accessibility & contrast

On white

10.77
#1E3393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E3393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3393
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3393#FFFFFF#000000##FFFFFF
##1E33931.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3393;
/* rgb */ color: rgb(30, 51, 147);
/* oklch */ color: oklch(37.3% 0.159 267.9);
Tailwind
colors: {
  custom: {
    50: '#6e6ab4',
    500: '#1e3393',
    950: '#000000',
  },
}
SCSS
$custom: #1e3393;
$custom-light: #6e6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3393",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 229.231,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.15918,
    "h": 267.9
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#1E3393
secondary
#BEAA4F
accent
#CA3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E3393

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

Preview Lab → · Contrast checker → · Palette generator →

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