#1E3377#1E3377

#1E3377 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.119 H 267.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1E3377
RGBrgb(30, 51, 119)
HSLhsl(226, 60%, 29%)
HSVhsv(226, 75%, 47%)
CMYKcmyk(74.8%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.59, 17.30, -41.41)
CIE-LCHlch(23.59, 44.88, 292.68°)
OKLaboklab(34.77% -0.0063 -0.1192)
OKLCHoklch(34.77% 0.119 267)
XYZxyz(5.0479, 3.9751, 17.9504)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3377 #77621E
analogous
#1E6077 #1E3377 #361E77
triadic
#1E3377 #771E33 #33771E
tetradic
#1E3377 #771E60 #77621E #1E7736
square
#1E3377 #771E60 #77621E #1E7736
split-complementary
#1E3377 #77361E #60771E
monochromatic
#060A18 #121E46 #1E3377 #2A48A8 #4062CF

Accessibility & contrast

On white

11.70
#1E3377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E3377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3377
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3377#FFFFFF#000000##FFFFFF
##1E33771.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e3377;
/* rgb */ color: rgb(30, 51, 119);
/* oklch */ color: oklch(34.8% 0.119 267.0);
Tailwind
colors: {
  custom: {
    50: '#676a9f',
    500: '#1e3377',
    950: '#000000',
  },
}
SCSS
$custom: #1e3377;
$custom-light: #676a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3377",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 225.843,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.11942,
    "h": 267
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#1E3377
secondary
#AB9346
accent
#BE45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E3377

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

Preview Lab → · Contrast checker → · Palette generator →

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