#1E1376#1E1376

#1E1376 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.156 H 275.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1376
RGBrgb(30, 19, 118)
HSLhsl(247, 72%, 27%)
HSVhsv(247, 84%, 46%)
CMYKcmyk(74.6%, 83.9%, 0%, 53.7%)
CIE-LABlab(15.74, 37.63, -53.63)
CIE-LCHlch(15.74, 65.51, 305.05°)
OKLaboklab(29.04% 0.0151 -0.155)
OKLCHoklch(29.04% 0.156 275.6)
XYZxyz(4.0372, 2.0494, 17.3188)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1376 #6B7613
analogous
#133976 #1E1376 #501376
triadic
#1E1376 #761E13 #13761E
tetradic
#1E1376 #761339 #6B7613 #137650
square
#1E1376 #761339 #6B7613 #137650
split-complementary
#1E1376 #765013 #397613
monochromatic
#07041A #110B41 #1E1376 #2B1BAB #3B27DC

Accessibility & contrast

On white

14.89
#1E1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1376
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1376#FFFFFF#000000##FFFFFF
##1E13761.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1376;
/* rgb */ color: rgb(30, 19, 118);
/* oklch */ color: oklch(29.0% 0.156 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a549f',
    500: '#1e1376',
    950: '#000000',
  },
}
SCSS
$custom: #1e1376;
$custom-light: #6a549f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1376",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 246.667,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.15578,
    "h": 275.6
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#1E1376
secondary
#9FAC39
accent
#EF39DB
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #1E1376

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

Preview Lab → · Contrast checker → · Palette generator →

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