#1E1A86#1E1A86

#1E1A86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.170 H 272.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1E1A86
RGBrgb(30, 26, 134)
HSLhsl(242, 68%, 31%)
HSVhsv(242, 81%, 53%)
CMYKcmyk(77.6%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.95, 39.24, -58.51)
CIE-LCHlch(18.95, 70.45, 303.85°)
OKLaboklab(31.84% 0.0081 -0.1693)
OKLCHoklch(31.84% 0.17 272.7)
XYZxyz(5.2064, 2.7355, 22.8032)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A86 #82861A
analogous
#1A4C86 #1E1A86 #541A86
triadic
#1E1A86 #861E1A #1A861E
tetradic
#1E1A86 #861A4C #82861A #1A8654
square
#1E1A86 #861A4C #82861A #1A8654
split-complementary
#1E1A86 #86541A #4C861A
monochromatic
#07061F #131053 #1E1A86 #2924B9 #4640DA

Accessibility & contrast

On white

13.57
#1E1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A86
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A86#FFFFFF#000000##FFFFFF
##1E1A861.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1a86;
/* rgb */ color: rgb(30, 26, 134);
/* oklch */ color: oklch(31.8% 0.170 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d59aa',
    500: '#1e1a86',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a86;
$custom-light: #6d59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a86",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 242.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.16951,
    "h": 272.7
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#1E1A86
secondary
#B5B942
accent
#EA3DE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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