#1E4084#1E4084

#1E4084 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.121 H 262.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1E4084
RGBrgb(30, 64, 132)
HSLhsl(220, 63%, 32%)
HSVhsv(220, 77%, 52%)
CMYKcmyk(77.3%, 51.5%, 0%, 48.2%)
CIE-LABlab(28.40, 13.42, -41.80)
CIE-LCHlch(28.40, 43.90, 287.80°)
OKLaboklab(38.73% -0.0162 -0.1202)
OKLCHoklch(38.73% 0.121 262.3)
XYZxyz(6.5322, 5.6080, 22.5635)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4084 #84621E
analogous
#1E7384 #1E4084 #2F1E84
triadic
#1E4084 #841E40 #40841E
tetradic
#1E4084 #841E73 #84621E #1E842F
square
#1E4084 #841E73 #84621E #1E842F
split-complementary
#1E4084 #842F1E #73841E
monochromatic
#071020 #132852 #1E4084 #2958B6 #4777D5

Accessibility & contrast

On white

9.90
#1E4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1E4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4084
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4084#FFFFFF#000000##FFFFFF
##1E40841.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174886
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e4084;
/* rgb */ color: rgb(30, 64, 132);
/* oklch */ color: oklch(38.7% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a74a8',
    500: '#1e4084',
    950: '#000000',
  },
}
SCSS
$custom: #1e4084;
$custom-light: #6a74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4084",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 220,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.12125,
    "h": 262.3
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#1E4084
secondary
#B79247
accent
#AF42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4084

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

Preview Lab → · Contrast checker → · Palette generator →

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