#1E1779#1E1779

#1E1779 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.156 H 274.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#1E1779
RGBrgb(30, 23, 121)
HSLhsl(244, 68%, 28%)
HSVhsv(244, 81%, 47%)
CMYKcmyk(75.2%, 81%, 0%, 52.5%)
CIE-LABlab(16.84, 36.50, -53.75)
CIE-LCHlch(16.84, 64.97, 304.18°)
OKLaboklab(29.9% 0.0125 -0.1554)
OKLCHoklch(29.9% 0.156 274.6)
XYZxyz(4.2919, 2.2689, 18.2972)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1779 #727917
analogous
#174179 #1E1779 #4F1779
triadic
#1E1779 #791E17 #17791E
tetradic
#1E1779 #791741 #727917 #17794F
square
#1E1779 #791741 #727917 #17794F
split-complementary
#1E1779 #794F17 #417917
monochromatic
#06051A #110D46 #1E1779 #2B21AC #3E32D8

Accessibility & contrast

On white

14.44
#1E1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1779
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1779#FFFFFF#000000##FFFFFF
##1E17791.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.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: #1e1779;
/* rgb */ color: rgb(30, 23, 121);
/* oklch */ color: oklch(29.9% 0.156 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a56a1',
    500: '#1e1779',
    950: '#000000',
  },
}
SCSS
$custom: #1e1779;
$custom-light: #6a56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1779",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 244.286,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29904,
    "c": 0.15595,
    "h": 274.6
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#1E1779
secondary
#A6AE3E
accent
#EB3DDE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1779

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

Preview Lab → · Contrast checker → · Palette generator →

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