#1E1879#1E1879

#1E1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 274.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1E1879
RGBrgb(30, 24, 121)
HSLhsl(244, 67%, 28%)
HSVhsv(244, 80%, 47%)
CMYKcmyk(75.2%, 80.2%, 0%, 52.5%)
CIE-LABlab(17.03, 35.94, -53.43)
CIE-LCHlch(17.03, 64.39, 303.93°)
OKLaboklab(30.04% 0.0121 -0.1545)
OKLCHoklch(30.04% 0.155 274.5)
XYZxyz(4.3121, 2.3093, 18.3039)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1879 #737918
analogous
#184279 #1E1879 #4E1879
triadic
#1E1879 #791E18 #18791E
tetradic
#1E1879 #791842 #737918 #18794E
square
#1E1879 #791842 #737918 #18794E
split-complementary
#1E1879 #794E18 #427918
monochromatic
#06051A #110E46 #1E1879 #2B22AC #3F35D7

Accessibility & contrast

On white

14.36
#1E1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1879
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1879#FFFFFF#000000##FFFFFF
##1E18791.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1879;
/* rgb */ color: rgb(30, 24, 121);
/* oklch */ color: oklch(30.0% 0.155 274.5);
Tailwind
colors: {
  custom: {
    50: '#6a57a1',
    500: '#1e1879',
    950: '#000000',
  },
}
SCSS
$custom: #1e1879;
$custom-light: #6a57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1879",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 243.711,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.155,
    "h": 274.5
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#1E1879
secondary
#A7AE3F
accent
#EA3EDF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1879

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

Preview Lab → · Contrast checker → · Palette generator →

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