#1E1B76#1E1B76

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

Color values

HEX#1E1B76
RGBrgb(30, 27, 118)
HSLhsl(242, 63%, 28%)
HSVhsv(242, 77%, 46%)
CMYKcmyk(74.6%, 77.1%, 0%, 53.7%)
CIE-LABlab(17.31, 33.15, -51.05)
CIE-LCHlch(17.31, 60.86, 303.00°)
OKLaboklab(30.13% 0.0112 -0.1476)
OKLCHoklch(30.13% 0.148 274.3)
XYZxyz(4.1963, 2.3675, 17.3718)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B76 #73761B
analogous
#1B4576 #1E1B76 #4B1B76
triadic
#1E1B76 #761E1B #1B761E
tetradic
#1E1B76 #761B45 #73761B #1B764B
square
#1E1B76 #761B45 #73761B #1B764B
split-complementary
#1E1B76 #764B1B #45761B
monochromatic
#060619 #111044 #1E1B76 #2B26A8 #3F3AD2

Accessibility & contrast

On white

14.25
#1E1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1B76
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B76#FFFFFF#000000##FFFFFF
##1E1B761.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e1b76;
/* rgb */ color: rgb(30, 27, 118);
/* oklch */ color: oklch(30.1% 0.148 274.3);
Tailwind
colors: {
  custom: {
    50: '#69599f',
    500: '#1e1b76',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b76;
$custom-light: #69599f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b76",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 241.978,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.14805,
    "h": 274.3
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#1E1B76
secondary
#A7AA42
accent
#E642E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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