#1E1986#1E1986

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

Color values

HEX#1E1986
RGBrgb(30, 25, 134)
HSLhsl(243, 69%, 31%)
HSVhsv(243, 81%, 53%)
CMYKcmyk(77.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(18.77, 39.77, -58.82)
CIE-LCHlch(18.77, 71.00, 304.07°)
OKLaboklab(31.71% 0.0085 -0.1702)
OKLCHoklch(31.71% 0.17 272.9)
XYZxyz(5.1847, 2.6920, 22.7960)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1986 #818619
analogous
#194A86 #1E1986 #541986
triadic
#1E1986 #861E19 #19861E
tetradic
#1E1986 #86194A #818619 #198654
square
#1E1986 #86194A #818619 #198654
split-complementary
#1E1986 #865419 #4A8619
monochromatic
#07061F #120F52 #1E1986 #2A23BA #463EDB

Accessibility & contrast

On white

13.65
#1E1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1986
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1986#FFFFFF#000000##FFFFFF
##1E19861.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1986;
/* rgb */ color: rgb(30, 25, 134);
/* oklch */ color: oklch(31.7% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1e1986',
    950: '#000000',
  },
}
SCSS
$custom: #1e1986;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1986",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 242.752,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31705,
    "c": 0.17041,
    "h": 272.9
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#1E1986
secondary
#B4BA41
accent
#EB3CE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1986

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

Preview Lab → · Contrast checker → · Palette generator →

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