#1E1B79#1E1B79

#1E1B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.152 H 274.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1E1B79
RGBrgb(30, 27, 121)
HSLhsl(242, 64%, 29%)
HSVhsv(242, 78%, 47%)
CMYKcmyk(75.2%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.64, 34.20, -52.42)
CIE-LCHlch(17.64, 62.59, 303.13°)
OKLaboklab(30.47% 0.0106 -0.1516)
OKLCHoklch(30.47% 0.152 274)
XYZxyz(4.3774, 2.4399, 18.3257)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B79 #76791B
analogous
#1B4779 #1E1B79 #4D1B79
triadic
#1E1B79 #791E1B #1B791E
tetradic
#1E1B79 #791B47 #76791B #1B794D
square
#1E1B79 #791B47 #76791B #1B794D
split-complementary
#1E1B79 #794D1B #47791B
monochromatic
#060619 #121047 #1E1B79 #2A26AB #403BD3

Accessibility & contrast

On white

14.11
#1E1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B79
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B79#FFFFFF#000000##FFFFFF
##1E1B791.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1b79;
/* rgb */ color: rgb(30, 27, 121);
/* oklch */ color: oklch(30.5% 0.152 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a59a1',
    500: '#1e1b79',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b79;
$custom-light: #6a59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b79",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 241.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30471,
    "c": 0.15199,
    "h": 274
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#1E1B79
secondary
#AAAD43
accent
#E741E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1E1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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