#1E4181#1E4181

#1E4181 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.116 H 261.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1E4181
RGBrgb(30, 65, 129)
HSLhsl(219, 62%, 31%)
HSVhsv(219, 77%, 51%)
CMYKcmyk(76.7%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.49, 11.52, -39.79)
CIE-LCHlch(28.49, 41.42, 286.14°)
OKLaboklab(38.73% -0.0176 -0.1142)
OKLCHoklch(38.73% 0.116 261.3)
XYZxyz(6.3867, 5.6409, 21.5168)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4181 #815E1E
analogous
#1E7281 #1E4181 #2C1E81
triadic
#1E4181 #811E41 #41811E
tetradic
#1E4181 #811E72 #815E1E #1E812C
square
#1E4181 #811E72 #815E1E #1E812C
split-complementary
#1E4181 #812C1E #72811E
monochromatic
#070F1E #12284F #1E4181 #2A5AB3 #4678D4

Accessibility & contrast

On white

9.87
#1E4181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E4181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4181
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4181#FFFFFF#000000##FFFFFF
##1E41811.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#013F80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e4181;
/* rgb */ color: rgb(30, 65, 129);
/* oklch */ color: oklch(38.7% 0.116 261.3);
Tailwind
colors: {
  custom: {
    50: '#6975a6',
    500: '#1e4181',
    950: '#000000',
  },
}
SCSS
$custom: #1e4181;
$custom-light: #6975a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4181",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 218.788,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.11557,
    "h": 261.3
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#1E4181
secondary
#B48D47
accent
#AC42E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4181

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

Preview Lab → · Contrast checker → · Palette generator →

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