#1E2879#1E2879

#1E2879 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.137 H 271.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2879
RGBrgb(30, 40, 121)
HSLhsl(233, 60%, 30%)
HSVhsv(233, 75%, 47%)
CMYKcmyk(75.2%, 66.9%, 0%, 52.5%)
CIE-LABlab(20.73, 25.79, -47.35)
CIE-LCHlch(20.73, 53.92, 298.58°)
OKLaboklab(32.69% 0.0025 -0.1368)
OKLCHoklch(32.69% 0.137 271.1)
XYZxyz(4.7442, 3.1736, 18.4480)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2879 #796F1E
analogous
#1E5579 #1E2879 #421E79
triadic
#1E2879 #791E28 #28791E
tetradic
#1E2879 #791E55 #796F1E #1E7942
square
#1E2879 #791E55 #796F1E #1E7942
split-complementary
#1E2879 #79421E #55791E
monochromatic
#060819 #121848 #1E2879 #2A38AA #4151D0

Accessibility & contrast

On white

12.85
#1E2879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2879
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2879#FFFFFF#000000##FFFFFF
##1E28791.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2879;
/* rgb */ color: rgb(30, 40, 121);
/* oklch */ color: oklch(32.7% 0.137 271.1);
Tailwind
colors: {
  custom: {
    50: '#6962a1',
    500: '#1e2879',
    950: '#000000',
  },
}
SCSS
$custom: #1e2879;
$custom-light: #6962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2879",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 233.407,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.13685,
    "h": 271.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#1E2879
secondary
#ADA146
accent
#D244E3
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2879

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

Preview Lab → · Contrast checker → · Palette generator →

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