#1E4287#1E4287

#1E4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.123 H 261.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1E4287
RGBrgb(30, 66, 135)
HSLhsl(219, 64%, 32%)
HSVhsv(219, 78%, 53%)
CMYKcmyk(77.8%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.21, 13.25, -42.35)
CIE-LCHlch(29.21, 44.38, 287.37°)
OKLaboklab(39.42% -0.0175 -0.1217)
OKLCHoklch(39.42% 0.123 261.8)
XYZxyz(6.8552, 5.9209, 23.6985)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4287 #87631E
analogous
#1E7687 #1E4287 #2F1E87
triadic
#1E4287 #871E42 #42871E
tetradic
#1E4287 #871E76 #87631E #1E872F
square
#1E4287 #871E76 #87631E #1E872F
split-complementary
#1E4287 #872F1E #76871E
monochromatic
#081123 #132A55 #1E4287 #295AB9 #4979D7

Accessibility & contrast

On white

9.61
#1E4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4287
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4287#FFFFFF#000000##FFFFFF
##1E42871.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4287;
/* rgb */ color: rgb(30, 66, 135);
/* oklch */ color: oklch(39.4% 0.123 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1e4287',
    950: '#000000',
  },
}
SCSS
$custom: #1e4287;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4287",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 219.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.12301,
    "h": 261.8
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#1E4287
secondary
#B99248
accent
#AE41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4287

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

Preview Lab → · Contrast checker → · Palette generator →

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