#1E1979#1E1979

#1E1979 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.154 H 274.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1E1979
RGBrgb(30, 25, 121)
HSLhsl(243, 66%, 29%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(75.2%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.23, 35.37, -53.10)
CIE-LCHlch(17.23, 63.80, 303.67°)
OKLaboklab(30.18% 0.0116 -0.1536)
OKLCHoklch(30.18% 0.154 274.3)
XYZxyz(4.3331, 2.3513, 18.3109)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1979 #747919
analogous
#194479 #1E1979 #4E1979
triadic
#1E1979 #791E19 #19791E
tetradic
#1E1979 #791944 #747919 #19794E
square
#1E1979 #791944 #747919 #19794E
split-complementary
#1E1979 #794E19 #447919
monochromatic
#060519 #110F46 #1E1979 #2B23AC #3F37D6

Accessibility & contrast

On white

14.28
#1E1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1979
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1979#FFFFFF#000000##FFFFFF
##1E19791.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1979;
/* rgb */ color: rgb(30, 25, 121);
/* oklch */ color: oklch(30.2% 0.154 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a58a1',
    500: '#1e1979',
    950: '#000000',
  },
}
SCSS
$custom: #1e1979;
$custom-light: #6a58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1979",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 243.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3018,
    "c": 0.15402,
    "h": 274.3
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#1E1979
secondary
#A8AE40
accent
#E93FE0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1979

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

Preview Lab → · Contrast checker → · Palette generator →

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