#1E417E#1E417E

#1E417E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.111 H 260.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1E417E
RGBrgb(30, 65, 126)
HSLhsl(218, 62%, 31%)
HSVhsv(218, 76%, 49%)
CMYKcmyk(76.2%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.28, 10.31, -38.25)
CIE-LCHlch(28.28, 39.61, 285.08°)
OKLaboklab(38.5% -0.0181 -0.1097)
OKLCHoklch(38.5% 0.111 260.6)
XYZxyz(6.1903, 5.5623, 20.4820)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E417E #7E5B1E
analogous
#1E717E #1E417E #2B1E7E
triadic
#1E417E #7E1E41 #417E1E
tetradic
#1E417E #7E1E71 #7E5B1E #1E7E2B
square
#1E417E #7E1E71 #7E5B1E #1E7E2B
split-complementary
#1E417E #7E2B1E #717E1E
monochromatic
#060E1B #12274D #1E417E #2A5AAF #4478D2

Accessibility & contrast

On white

9.94
#1E417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E417E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E417E#FFFFFF#000000##FFFFFF
##1E417E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214780
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e417e;
/* rgb */ color: rgb(30, 65, 126);
/* oklch */ color: oklch(38.5% 0.111 260.6);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1e417e',
    950: '#000000',
  },
}
SCSS
$custom: #1e417e;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e417e",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 218.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38504,
    "c": 0.11118,
    "h": 260.6
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#1E417E
secondary
#B18A47
accent
#AA43E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E417E

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

Preview Lab → · Contrast checker → · Palette generator →

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