#1E4281#1E4281

#1E4281 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.114 H 260.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1E4281
RGBrgb(30, 66, 129)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 77%, 51%)
CMYKcmyk(76.7%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.79, 10.83, -39.30)
CIE-LCHlch(28.79, 40.77, 285.40°)
OKLaboklab(38.96% -0.0185 -0.1128)
OKLCHoklch(38.96% 0.114 260.7)
XYZxyz(6.4447, 5.7567, 21.5361)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4281 #815D1E
analogous
#1E7381 #1E4281 #2B1E81
triadic
#1E4281 #811E42 #42811E
tetradic
#1E4281 #811E73 #815D1E #1E812B
square
#1E4281 #811E73 #815D1E #1E812B
split-complementary
#1E4281 #812B1E #73811E
monochromatic
#070F1E #12294F #1E4281 #2A5BB3 #4679D4

Accessibility & contrast

On white

9.76
#1E4281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1E4281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4281
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4281#FFFFFF#000000##FFFFFF
##1E42811.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204983
Deuteranopia (green-blind)
#054080
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4281;
/* rgb */ color: rgb(30, 66, 129);
/* oklch */ color: oklch(39.0% 0.114 260.7);
Tailwind
colors: {
  custom: {
    50: '#6975a6',
    500: '#1e4281',
    950: '#000000',
  },
}
SCSS
$custom: #1e4281;
$custom-light: #6975a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4281",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 218.182,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.11428,
    "h": 260.7
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#1E4281
secondary
#B48C47
accent
#AA42E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E4281

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

Preview Lab → · Contrast checker → · Palette generator →

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