#1E4381#1E4381

#1E4381 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.113 H 260.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1E4381
RGBrgb(30, 67, 129)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 77%, 51%)
CMYKcmyk(76.7%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.09, 10.14, -38.82)
CIE-LCHlch(29.09, 40.12, 284.64°)
OKLaboklab(39.2% -0.0194 -0.1113)
OKLCHoklch(39.2% 0.113 260.1)
XYZxyz(6.5036, 5.8746, 21.5558)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4381 #815C1E
analogous
#1E7481 #1E4381 #2A1E81
triadic
#1E4381 #811E43 #43811E
tetradic
#1E4381 #811E74 #815C1E #1E812A
square
#1E4381 #811E74 #815C1E #1E812A
split-complementary
#1E4381 #812A1E #74811E
monochromatic
#070F1E #12294F #1E4381 #2A5DB3 #467BD4

Accessibility & contrast

On white

9.66
#1E4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1E4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4381
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4381#FFFFFF#000000##FFFFFF
##1E43811.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#0A4080
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4381;
/* rgb */ color: rgb(30, 67, 129);
/* oklch */ color: oklch(39.2% 0.113 260.1);
Tailwind
colors: {
  custom: {
    50: '#6976a6',
    500: '#1e4381',
    950: '#000000',
  },
}
SCSS
$custom: #1e4381;
$custom-light: #6976a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4381",
  "rgb": {
    "r": 30,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 217.576,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.113,
    "h": 260.1
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#1E4381
secondary
#B48B47
accent
#A842E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4381

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

Preview Lab → · Contrast checker → · Palette generator →

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