#1E1477#1E1477

#1E1477 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.156 H 275.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#1E1477
RGBrgb(30, 20, 119)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 47%)
CMYKcmyk(74.8%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.04, 37.44, -53.78)
CIE-LCHlch(16.04, 65.53, 304.85°)
OKLaboklab(29.28% 0.0144 -0.1555)
OKLCHoklch(29.28% 0.156 275.3)
XYZxyz(4.1143, 2.1078, 17.6392)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1477 #6D7714
analogous
#143B77 #1E1477 #501477
triadic
#1E1477 #771E14 #14771E
tetradic
#1E1477 #77143B #6D7714 #147750
square
#1E1477 #77143B #6D7714 #147750
split-complementary
#1E1477 #775014 #3B7714
monochromatic
#07041A #110B43 #1E1477 #2B1DAB #3C2ADB

Accessibility & contrast

On white

14.77
#1E1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1477
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1477#FFFFFF#000000##FFFFFF
##1E14771.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1477;
/* rgb */ color: rgb(30, 20, 119);
/* oklch */ color: oklch(29.3% 0.156 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a559f',
    500: '#1e1477',
    950: '#000000',
  },
}
SCSS
$custom: #1e1477;
$custom-light: #6a559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1477",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 246.061,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29279,
    "c": 0.15616,
    "h": 275.3
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#1E1477
secondary
#A1AD3A
accent
#EE3ADC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #1E1477

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

Preview Lab → · Contrast checker → · Palette generator →

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