#1E42AE#1E42AE

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

Color values

HEX#1E42AE
RGBrgb(30, 66, 174)
HSLhsl(225, 71%, 40%)
HSVhsv(225, 83%, 68%)
CMYKcmyk(82.8%, 62.1%, 0%, 31.8%)
CIE-LABlab(32.32, 28.72, -61.00)
CIE-LCHlch(32.32, 67.42, 295.21°)
OKLaboklab(42.74% -0.0148 -0.1765)
OKLCHoklch(42.74% 0.177 265.2)
XYZxyz(10.1209, 7.2272, 40.8978)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E42AE #AE8A1E
analogous
#1E8AAE #1E42AE #421EAE
triadic
#1E42AE #AE1E42 #42AE1E
tetradic
#1E42AE #AE1E8A #AE8A1E #1EAE42
square
#1E42AE #AE1E8A #AE8A1E #1EAE42
split-complementary
#1E42AE #AE421E #8AAE1E
monochromatic
#0C1A46 #152E7A #1E42AE #2E59DB #6283E4

Accessibility & contrast

On white

8.59
#1E42AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1E42AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E42AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E42AE#FFFFFF#000000##FFFFFF
##1E42AE1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e42ae;
/* rgb */ color: rgb(30, 66, 174);
/* oklch */ color: oklch(42.7% 0.177 265.2);
Tailwind
colors: {
  custom: {
    50: '#7476c7',
    500: '#1e42ae',
    950: '#000000',
  },
}
SCSS
$custom: #1e42ae;
$custom-light: #7476c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e42ae",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 225,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.17714,
    "h": 265.2
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#1E42AE
secondary
#C9AE5F
accent
#C13AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1E42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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