#1E1474#1E1474

#1E1474 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.152 H 275.7°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1E1474
RGBrgb(30, 20, 116)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 45%)
CMYKcmyk(74.1%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.68, 36.45, -52.45)
CIE-LCHlch(15.68, 63.87, 304.80°)
OKLaboklab(28.92% 0.0152 -0.1516)
OKLCHoklch(28.92% 0.152 275.7)
XYZxyz(3.9369, 2.0369, 16.7053)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1474 #6A7414
analogous
#143A74 #1E1474 #4E1474
triadic
#1E1474 #741E14 #14741E
tetradic
#1E1474 #74143A #6A7414 #14744E
square
#1E1474 #74143A #6A7414 #14744E
split-complementary
#1E1474 #744E14 #3A7414
monochromatic
#07051A #110B40 #1E1474 #2C1DA8 #3B28DA

Accessibility & contrast

On white

14.92
#1E1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1474
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1474#FFFFFF#000000##FFFFFF
##1E14741.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1474;
/* rgb */ color: rgb(30, 20, 116);
/* oklch */ color: oklch(28.9% 0.152 275.7);
Tailwind
colors: {
  custom: {
    50: '#69549d',
    500: '#1e1474',
    950: '#000000',
  },
}
SCSS
$custom: #1e1474;
$custom-light: #69549d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1474",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 246.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.15239,
    "h": 275.7
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#1E1474
secondary
#9EAA3A
accent
#ED3ADB
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1474

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

Preview Lab → · Contrast checker → · Palette generator →

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