#1E3396#1E3396

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

Color values

HEX#1E3396
RGBrgb(30, 51, 150)
HSLhsl(230, 67%, 35%)
HSVhsv(230, 80%, 59%)
CMYKcmyk(80%, 66%, 0%, 41.2%)
CIE-LABlab(26.29, 29.50, -56.36)
CIE-LCHlch(26.29, 63.62, 297.63°)
OKLaboklab(37.61% -0.006 -0.1631)
OKLCHoklch(37.61% 0.163 267.9)
XYZxyz(7.2224, 4.8449, 29.4028)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3396 #96811E
analogous
#1E6F96 #1E3396 #451E96
triadic
#1E3396 #961E33 #33961E
tetradic
#1E3396 #961E6F #96811E #1E9645
square
#1E3396 #961E6F #96811E #1E9645
split-complementary
#1E3396 #96451E #6F961E
monochromatic
#0A1030 #142263 #1E3396 #2844C9 #526ADC

Accessibility & contrast

On white

10.66
#1E3396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E3396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3396
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3396#FFFFFF#000000##FFFFFF
##1E33961.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3396;
/* rgb */ color: rgb(30, 51, 150);
/* oklch */ color: oklch(37.6% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ab6',
    500: '#1e3396',
    950: '#000000',
  },
}
SCSS
$custom: #1e3396;
$custom-light: #6f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3396",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 229.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.16323,
    "h": 267.9
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#1E3396
secondary
#BFAC50
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3396

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

Preview Lab → · Contrast checker → · Palette generator →

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