#1E42A4#1E42A4

#1E42A4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.164 H 264.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1E42A4
RGBrgb(30, 66, 164)
HSLhsl(224, 69%, 38%)
HSVhsv(224, 82%, 64%)
CMYKcmyk(81.7%, 59.8%, 0%, 35.7%)
CIE-LABlab(31.47, 24.82, -56.40)
CIE-LCHlch(31.47, 61.62, 293.76°)
OKLaboklab(41.84% -0.0151 -0.163)
OKLCHoklch(41.84% 0.164 264.7)
XYZxyz(9.1821, 6.8517, 35.9533)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E42A4 #A4801E
analogous
#1E85A4 #1E42A4 #3D1EA4
triadic
#1E42A4 #A41E42 #42A41E
tetradic
#1E42A4 #A41E85 #A4801E #1EA43D
square
#1E42A4 #A41E85 #A4801E #1EA43D
split-complementary
#1E42A4 #A43D1E #85A41E
monochromatic
#0B183D #152D70 #1E42A4 #2857D8 #5B7FE1

Accessibility & contrast

On white

8.86
#1E42A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1E42A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E42A4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E42A4#FFFFFF#000000##FFFFFF
##1E42A41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e42a4;
/* rgb */ color: rgb(30, 66, 164);
/* oklch */ color: oklch(41.8% 0.164 264.7);
Tailwind
colors: {
  custom: {
    50: '#7275c0',
    500: '#1e42a4',
    950: '#000000',
  },
}
SCSS
$custom: #1e42a4;
$custom-light: #7275c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e42a4",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 223.881,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.16373,
    "h": 264.7
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#1E42A4
secondary
#C5A859
accent
#BD3CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E42A4

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

Preview Lab → · Contrast checker → · Palette generator →

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