#1E4586#1E4586

#1E4586 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.118 H 260.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1E4586
RGBrgb(30, 69, 134)
HSLhsl(218, 63%, 32%)
HSVhsv(218, 78%, 53%)
CMYKcmyk(77.6%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.04, 10.78, -40.40)
CIE-LCHlch(30.04, 41.81, 284.94°)
OKLaboklab(40.03% -0.0203 -0.1159)
OKLCHoklch(40.03% 0.118 260)
XYZxyz(6.9651, 6.2527, 23.3894)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4586 #865F1E
analogous
#1E7986 #1E4586 #2B1E86
triadic
#1E4586 #861E45 #45861E
tetradic
#1E4586 #861E79 #865F1E #1E862B
square
#1E4586 #861E79 #865F1E #1E862B
split-complementary
#1E4586 #862B1E #79861E
monochromatic
#081222 #132B54 #1E4586 #295FB8 #487DD6

Accessibility & contrast

On white

9.33
#1E4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1E4586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4586
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4586#FFFFFF#000000##FFFFFF
##1E45861.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4586;
/* rgb */ color: rgb(30, 69, 134);
/* oklch */ color: oklch(40.0% 0.118 260.0);
Tailwind
colors: {
  custom: {
    50: '#6a78aa',
    500: '#1e4586',
    950: '#000000',
  },
}
SCSS
$custom: #1e4586;
$custom-light: #6a78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4586",
  "rgb": {
    "r": 30,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 217.5,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.11771,
    "h": 260
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#1E4586
secondary
#B88E47
accent
#A941E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4586

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

Preview Lab → · Contrast checker → · Palette generator →

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