#1E3385#1E3385

#1E3385 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.140 H 267.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1E3385
RGBrgb(30, 51, 133)
HSLhsl(228, 63%, 32%)
HSVhsv(228, 77%, 52%)
CMYKcmyk(77.4%, 61.7%, 0%, 47.8%)
CIE-LABlab(24.75, 22.88, -48.34)
CIE-LCHlch(24.75, 53.48, 295.33°)
OKLaboklab(36% -0.0057 -0.1396)
OKLCHoklch(36% 0.14 267.6)
XYZxyz(5.9514, 4.3365, 22.7091)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3385 #85701E
analogous
#1E6785 #1E3385 #3D1E85
triadic
#1E3385 #851E33 #33851E
tetradic
#1E3385 #851E67 #85701E #1E853D
square
#1E3385 #851E67 #85701E #1E853D
split-complementary
#1E3385 #853D1E #67851E
monochromatic
#070D21 #132053 #1E3385 #2946B7 #4865D6

Accessibility & contrast

On white

11.25
#1E3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3385
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3385#FFFFFF#000000##FFFFFF
##1E33851.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3385;
/* rgb */ color: rgb(30, 51, 133);
/* oklch */ color: oklch(36.0% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa9',
    500: '#1e3385',
    950: '#000000',
  },
}
SCSS
$custom: #1e3385;
$custom-light: #6b6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3385",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 227.767,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.13974,
    "h": 267.6
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#1E3385
secondary
#B8A147
accent
#C542E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3385

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

Preview Lab → · Contrast checker → · Palette generator →

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