#1E1163#1E1163

#1E1163 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.133 H 279.4°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#1E1163
RGBrgb(30, 17, 99)
HSLhsl(250, 71%, 23%)
HSVhsv(250, 83%, 39%)
CMYKcmyk(69.7%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.09, 32.39, -45.59)
CIE-LCHlch(13.09, 55.93, 305.39°)
OKLaboklab(26.52% 0.0218 -0.1316)
OKLCHoklch(26.52% 0.133 279.4)
XYZxyz(2.9873, 1.5775, 11.9490)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1163 #566311
analogous
#112D63 #1E1163 #471163
triadic
#1E1163 #631E11 #11631E
tetradic
#1E1163 #63112D #566311 #116347
square
#1E1163 #63112D #566311 #116347
split-complementary
#1E1163 #634711 #2D6311
monochromatic
#08041A #0E082F #1E1163 #2E1A97 #3E23CB

Accessibility & contrast

On white

15.96
#1E1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1163
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1163#FFFFFF#000000##FFFFFF
##1E11631.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001E62
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1163;
/* rgb */ color: rgb(30, 17, 99);
/* oklch */ color: oklch(26.5% 0.133 279.4);
Tailwind
colors: {
  custom: {
    50: '#655190',
    500: '#1e1163',
    950: '#000000',
  },
}
SCSS
$custom: #1e1163;
$custom-light: #655190;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1163",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 249.512,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26518,
    "c": 0.13344,
    "h": 279.4
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#1E1163
secondary
#8B9B34
accent
#ED3AD1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E1163

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

Preview Lab → · Contrast checker → · Palette generator →

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