#1E3395#1E3395

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

Color values

HEX#1E3395
RGBrgb(30, 51, 149)
HSLhsl(229, 66%, 35%)
HSVhsv(229, 80%, 58%)
CMYKcmyk(79.9%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.19, 29.12, -55.90)
CIE-LCHlch(26.19, 63.03, 297.52°)
OKLaboklab(37.52% -0.006 -0.1618)
OKLCHoklch(37.52% 0.162 267.9)
XYZxyz(7.1422, 4.8128, 28.9805)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3395 #95801E
analogous
#1E6E95 #1E3395 #451E95
triadic
#1E3395 #951E33 #33951E
tetradic
#1E3395 #951E6E #95801E #1E9545
square
#1E3395 #951E6E #95801E #1E9545
split-complementary
#1E3395 #95451E #6E951E
monochromatic
#09102F #142262 #1E3395 #2844C8 #516ADC

Accessibility & contrast

On white

10.70
#1E3395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3395
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3395#FFFFFF#000000##FFFFFF
##1E33951.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e3395;
/* rgb */ color: rgb(30, 51, 149);
/* oklch */ color: oklch(37.5% 0.162 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ab5',
    500: '#1e3395',
    950: '#000000',
  },
}
SCSS
$custom: #1e3395;
$custom-light: #6f6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3395",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 229.412,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37515,
    "c": 0.16189,
    "h": 267.9
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#1E3395
secondary
#BFAB50
accent
#CB3EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3395

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

Preview Lab → · Contrast checker → · Palette generator →

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