#1E1877#1E1877

#1E1877 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.152 H 274.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#1E1877
RGBrgb(30, 24, 119)
HSLhsl(244, 66%, 28%)
HSVhsv(244, 80%, 47%)
CMYKcmyk(74.8%, 79.8%, 0%, 53.3%)
CIE-LABlab(16.80, 35.26, -52.53)
CIE-LCHlch(16.80, 63.26, 303.87°)
OKLaboklab(29.81% 0.0125 -0.1519)
OKLCHoklch(29.81% 0.152 274.7)
XYZxyz(4.1907, 2.2608, 17.6647)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1877 #717718
analogous
#184277 #1E1877 #4D1877
triadic
#1E1877 #771E18 #18771E
tetradic
#1E1877 #771842 #717718 #18774D
square
#1E1877 #771842 #717718 #18774D
split-complementary
#1E1877 #774D18 #427718
monochromatic
#060519 #110E44 #1E1877 #2B22AA #3E33D6

Accessibility & contrast

On white

14.46
#1E1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1877
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1877#FFFFFF#000000##FFFFFF
##1E18771.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1877;
/* rgb */ color: rgb(30, 24, 119);
/* oklch */ color: oklch(29.8% 0.152 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a579f',
    500: '#1e1877',
    950: '#000000',
  },
}
SCSS
$custom: #1e1877;
$custom-light: #6a579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1877",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 243.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.15244,
    "h": 274.7
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#1E1877
secondary
#A5AC3F
accent
#E93EDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1877

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

Preview Lab → · Contrast checker → · Palette generator →

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