#1E3788#1E3788

#1E3788 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.139 H 266.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#1E3788
RGBrgb(30, 55, 136)
HSLhsl(226, 64%, 33%)
HSVhsv(226, 78%, 53%)
CMYKcmyk(77.9%, 59.6%, 0%, 46.7%)
CIE-LABlab(26.11, 21.29, -48.00)
CIE-LCHlch(26.11, 52.51, 293.93°)
OKLaboklab(37.1% -0.0086 -0.1385)
OKLCHoklch(37.1% 0.139 266.4)
XYZxyz(6.3440, 4.7853, 23.8771)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3788 #886F1E
analogous
#1E6C88 #1E3788 #3A1E88
triadic
#1E3788 #881E37 #37881E
tetradic
#1E3788 #881E6C #886F1E #1E883A
square
#1E3788 #881E6C #886F1E #1E883A
split-complementary
#1E3788 #883A1E #6C881E
monochromatic
#080E24 #132356 #1E3788 #294BBA #496BD7

Accessibility & contrast

On white

10.73
#1E3788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3788
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3788#FFFFFF#000000##FFFFFF
##1E37881.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3788;
/* rgb */ color: rgb(30, 55, 136);
/* oklch */ color: oklch(37.1% 0.139 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b6dab',
    500: '#1e3788',
    950: '#000000',
  },
}
SCSS
$custom: #1e3788;
$custom-light: #6b6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3788",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 225.849,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.371,
    "c": 0.13882,
    "h": 266.4
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#1E3788
secondary
#B99F49
accent
#C041E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E3788

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

Preview Lab → · Contrast checker → · Palette generator →

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