#1E42AD#1E42AD

#1E42AD is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.176 H 265.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#1E42AD
RGBrgb(30, 66, 173)
HSLhsl(225, 70%, 40%)
HSVhsv(225, 83%, 68%)
CMYKcmyk(82.7%, 61.8%, 0%, 32.2%)
CIE-LABlab(32.23, 28.33, -60.54)
CIE-LCHlch(32.23, 66.84, 295.08°)
OKLaboklab(42.64% -0.0148 -0.1752)
OKLCHoklch(42.64% 0.176 265.2)
XYZxyz(10.0238, 7.1884, 40.3863)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E42AD #AD891E
analogous
#1E8AAD #1E42AD #421EAD
triadic
#1E42AD #AD1E42 #42AD1E
tetradic
#1E42AD #AD1E8A #AD891E #1EAD42
square
#1E42AD #AD1E8A #AD891E #1EAD42
split-complementary
#1E42AD #AD421E #8AAD1E
monochromatic
#0C1A45 #152E79 #1E42AD #2E59DB #6282E4

Accessibility & contrast

On white

8.61
#1E42AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1E42AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E42AD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E42AD#FFFFFF#000000##FFFFFF
##1E42AD1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e42ad;
/* rgb */ color: rgb(30, 66, 173);
/* oklch */ color: oklch(42.6% 0.176 265.2);
Tailwind
colors: {
  custom: {
    50: '#7476c6',
    500: '#1e42ad',
    950: '#000000',
  },
}
SCSS
$custom: #1e42ad;
$custom-light: #7476c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e42ad",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 224.895,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.17582,
    "h": 265.2
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#1E42AD
secondary
#C8AE5E
accent
#C03BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1E42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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