#1E417D#1E417D

#1E417D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.110 H 260.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1E417D
RGBrgb(30, 65, 125)
HSLhsl(218, 61%, 30%)
HSVhsv(218, 76%, 49%)
CMYKcmyk(76%, 48%, 0%, 51%)
CIE-LABlab(28.21, 9.90, -37.73)
CIE-LCHlch(28.21, 39.01, 284.70°)
OKLaboklab(38.43% -0.0183 -0.1082)
OKLCHoklch(38.43% 0.11 260.4)
XYZxyz(6.1261, 5.5366, 20.1439)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E417D #7D5A1E
analogous
#1E707D #1E417D #2B1E7D
triadic
#1E417D #7D1E41 #417D1E
tetradic
#1E417D #7D1E70 #7D5A1E #1E7D2B
square
#1E417D #7D1E70 #7D5A1E #1E7D2B
split-complementary
#1E417D #7D2B1E #707D1E
monochromatic
#060E1A #12274C #1E417D #2A5BAE #4378D2

Accessibility & contrast

On white

9.96
#1E417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E417D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E417D#FFFFFF#000000##FFFFFF
##1E417D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#0C3E7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e417d;
/* rgb */ color: rgb(30, 65, 125);
/* oklch */ color: oklch(38.4% 0.110 260.4);
Tailwind
colors: {
  custom: {
    50: '#6875a3',
    500: '#1e417d',
    950: '#000000',
  },
}
SCSS
$custom: #1e417d;
$custom-light: #6875a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e417d",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 217.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.10971,
    "h": 260.4
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#1E417D
secondary
#B08946
accent
#A943E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E417D

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

Preview Lab → · Contrast checker → · Palette generator →

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