#1E4186#1E4186

#1E4186 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.123 H 262.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1E4186
RGBrgb(30, 65, 134)
HSLhsl(220, 63%, 32%)
HSVhsv(220, 78%, 53%)
CMYKcmyk(77.6%, 51.5%, 0%, 47.5%)
CIE-LABlab(28.84, 13.54, -42.33)
CIE-LCHlch(28.84, 44.44, 287.73°)
OKLaboklab(39.12% -0.0168 -0.1217)
OKLCHoklch(39.12% 0.123 262.1)
XYZxyz(6.7273, 5.7771, 23.3102)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4186 #86631E
analogous
#1E7586 #1E4186 #2F1E86
triadic
#1E4186 #861E41 #41861E
tetradic
#1E4186 #861E75 #86631E #1E862F
square
#1E4186 #861E75 #86631E #1E862F
split-complementary
#1E4186 #862F1E #75861E
monochromatic
#081022 #132954 #1E4186 #2959B8 #4878D6

Accessibility & contrast

On white

9.74
#1E4186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1E4186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4186
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4186#FFFFFF#000000##FFFFFF
##1E41861.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4186;
/* rgb */ color: rgb(30, 65, 134);
/* oklch */ color: oklch(39.1% 0.123 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1e4186',
    950: '#000000',
  },
}
SCSS
$custom: #1e4186;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4186",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 219.808,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.12286,
    "h": 262.1
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#1E4186
secondary
#B89247
accent
#AF41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4186

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

Preview Lab → · Contrast checker → · Palette generator →

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