#1E4688#1E4688

#1E4688 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.119 H 259.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1E4688
RGBrgb(30, 70, 136)
HSLhsl(217, 64%, 33%)
HSVhsv(217, 78%, 53%)
CMYKcmyk(77.9%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.48, 10.90, -40.93)
CIE-LCHlch(30.48, 42.36, 284.91°)
OKLaboklab(40.42% -0.0209 -0.1175)
OKLCHoklch(40.42% 0.119 259.9)
XYZxyz(7.1679, 6.4331, 24.1517)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4688 #88601E
analogous
#1E7B88 #1E4688 #2B1E88
triadic
#1E4688 #881E46 #46881E
tetradic
#1E4688 #881E7B #88601E #1E882B
square
#1E4688 #881E7B #88601E #1E882B
split-complementary
#1E4688 #882B1E #7B881E
monochromatic
#081224 #132C56 #1E4688 #2960BA #497FD7

Accessibility & contrast

On white

9.18
#1E4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1E4688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4688
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4688#FFFFFF#000000##FFFFFF
##1E46881.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#044387
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4688;
/* rgb */ color: rgb(30, 70, 136);
/* oklch */ color: oklch(40.4% 0.119 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a78ab',
    500: '#1e4688',
    950: '#000000',
  },
}
SCSS
$custom: #1e4688;
$custom-light: #6a78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4688",
  "rgb": {
    "r": 30,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 217.358,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.11932,
    "h": 259.9
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#1E4688
secondary
#B98F49
accent
#A841E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4688

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

Preview Lab → · Contrast checker → · Palette generator →

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