#1E4286#1E4286

#1E4286 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.122 H 261.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1E4286
RGBrgb(30, 66, 134)
HSLhsl(219, 63%, 32%)
HSVhsv(219, 78%, 53%)
CMYKcmyk(77.6%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.14, 12.85, -41.85)
CIE-LCHlch(29.14, 43.78, 287.06°)
OKLaboklab(39.34% -0.0177 -0.1203)
OKLCHoklch(39.34% 0.122 261.6)
XYZxyz(6.7852, 5.8929, 23.3295)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4286 #86621E
analogous
#1E7686 #1E4286 #2E1E86
triadic
#1E4286 #861E42 #42861E
tetradic
#1E4286 #861E76 #86621E #1E862E
square
#1E4286 #861E76 #86621E #1E862E
split-complementary
#1E4286 #862E1E #76861E
monochromatic
#081122 #132954 #1E4286 #295BB8 #4879D6

Accessibility & contrast

On white

9.64
#1E4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1E4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4286
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4286#FFFFFF#000000##FFFFFF
##1E42861.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4286;
/* rgb */ color: rgb(30, 66, 134);
/* oklch */ color: oklch(39.3% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1e4286',
    950: '#000000',
  },
}
SCSS
$custom: #1e4286;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4286",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 219.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.12156,
    "h": 261.6
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#1E4286
secondary
#B89147
accent
#AD41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4286

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

Preview Lab → · Contrast checker → · Palette generator →

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