#1E3390#1E3390

#1E3390 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.155 H 267.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1E3390
RGBrgb(30, 51, 144)
HSLhsl(229, 66%, 34%)
HSVhsv(229, 79%, 56%)
CMYKcmyk(79.2%, 64.6%, 0%, 43.5%)
CIE-LABlab(25.73, 27.19, -53.58)
CIE-LCHlch(25.73, 60.08, 296.91°)
OKLaboklab(37.03% -0.0058 -0.155)
OKLCHoklch(37.03% 0.155 267.8)
XYZxyz(6.7515, 4.6565, 26.9231)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3390 #907B1E
analogous
#1E6C90 #1E3390 #421E90
triadic
#1E3390 #901E33 #33901E
tetradic
#1E3390 #901E6C #907B1E #1E9042
square
#1E3390 #901E6C #907B1E #1E9042
split-complementary
#1E3390 #90421E #6C901E
monochromatic
#090F2B #13215D #1E3390 #2945C3 #4E68DA

Accessibility & contrast

On white

10.87
#1E3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3390
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3390#FFFFFF#000000##FFFFFF
##1E33901.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3390;
/* rgb */ color: rgb(30, 51, 144);
/* oklch */ color: oklch(37.0% 0.155 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e6ab1',
    500: '#1e3390',
    950: '#000000',
  },
}
SCSS
$custom: #1e3390;
$custom-light: #6e6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3390",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 228.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.15508,
    "h": 267.8
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#1E3390
secondary
#BDA84D
accent
#C93FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E3390

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

Preview Lab → · Contrast checker → · Palette generator →

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