#1E4071#1E4071

#1E4071 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.093 H 257.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#1E4071
RGBrgb(30, 64, 113)
HSLhsl(215, 58%, 28%)
HSVhsv(215, 73%, 44%)
CMYKcmyk(73.5%, 43.4%, 0%, 55.7%)
CIE-LABlab(27.11, 5.76, -31.92)
CIE-LCHlch(27.11, 32.44, 280.23°)
OKLaboklab(37.33% -0.0197 -0.0911)
OKLCHoklch(37.33% 0.093 257.8)
XYZxyz(5.3484, 5.1345, 16.3288)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4071 #714F1E
analogous
#1E6971 #1E4071 #261E71
triadic
#1E4071 #711E40 #40711E
tetradic
#1E4071 #711E69 #714F1E #1E7126
square
#1E4071 #711E69 #714F1E #1E7126
split-complementary
#1E4071 #71261E #69711E
monochromatic
#060E18 #112541 #1E4071 #2B5BA1 #3E78CC

Accessibility & contrast

On white

10.36
#1E4071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1E4071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4071
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4071#FFFFFF#000000##FFFFFF
##1E40711.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#1B3D70
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e4071;
/* rgb */ color: rgb(30, 64, 113);
/* oklch */ color: oklch(37.3% 0.093 257.8);
Tailwind
colors: {
  custom: {
    50: '#65749a',
    500: '#1e4071',
    950: '#000000',
  },
}
SCSS
$custom: #1e4071;
$custom-light: #65749a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4071",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 215.422,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.09324,
    "h": 257.8
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#1E4071
secondary
#A57E46
accent
#A247E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1E4071

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

Preview Lab → · Contrast checker → · Palette generator →

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