#1E4786#1E4786

#1E4786 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.115 H 258.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1E4786
RGBrgb(30, 71, 134)
HSLhsl(216, 63%, 32%)
HSVhsv(216, 78%, 53%)
CMYKcmyk(77.6%, 47%, 0%, 47.5%)
CIE-LABlab(30.65, 9.41, -39.42)
CIE-LCHlch(30.65, 40.53, 283.43°)
OKLaboklab(40.5% -0.0221 -0.113)
OKLCHoklch(40.5% 0.115 258.9)
XYZxyz(7.0902, 6.5029, 23.4311)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4786 #865D1E
analogous
#1E7B86 #1E4786 #291E86
triadic
#1E4786 #861E47 #47861E
tetradic
#1E4786 #861E7B #865D1E #1E8629
square
#1E4786 #861E7B #865D1E #1E8629
split-complementary
#1E4786 #86291E #7B861E
monochromatic
#081222 #132D54 #1E4786 #2961B8 #4880D6

Accessibility & contrast

On white

9.13
#1E4786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1E4786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4786
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4786#FFFFFF#000000##FFFFFF
##1E47861.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#0F4485
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4786;
/* rgb */ color: rgb(30, 71, 134);
/* oklch */ color: oklch(40.5% 0.115 258.9);
Tailwind
colors: {
  custom: {
    50: '#6a79aa',
    500: '#1e4786',
    950: '#000000',
  },
}
SCSS
$custom: #1e4786;
$custom-light: #6a79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4786",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 216.346,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.405,
    "c": 0.11519,
    "h": 258.9
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#1E4786
secondary
#B88C47
accent
#A541E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4786

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

Preview Lab → · Contrast checker → · Palette generator →

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