#1E1984#1E1984

#1E1984 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.168 H 273.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1984
RGBrgb(30, 25, 132)
HSLhsl(243, 68%, 31%)
HSVhsv(243, 81%, 52%)
CMYKcmyk(77.3%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.53, 39.11, -57.95)
CIE-LCHlch(18.53, 69.91, 304.01°)
OKLaboklab(31.47% 0.009 -0.1677)
OKLCHoklch(31.47% 0.168 273.1)
XYZxyz(5.0465, 2.6367, 22.0683)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1984 #7F8419
analogous
#194984 #1E1984 #531984
triadic
#1E1984 #841E19 #19841E
tetradic
#1E1984 #841949 #7F8419 #198453
square
#1E1984 #841949 #7F8419 #198453
split-complementary
#1E1984 #845319 #498419
monochromatic
#07061D #120F51 #1E1984 #2A23B7 #443DDA

Accessibility & contrast

On white

13.75
#1E1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1984
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1984#FFFFFF#000000##FFFFFF
##1E19841.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1984;
/* rgb */ color: rgb(30, 25, 132);
/* oklch */ color: oklch(31.5% 0.168 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d58a9',
    500: '#1e1984',
    950: '#000000',
  },
}
SCSS
$custom: #1e1984;
$custom-light: #6d58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1984",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 242.804,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.16793,
    "h": 273.1
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#1E1984
secondary
#B2B841
accent
#EB3DE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1984

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

Preview Lab → · Contrast checker → · Palette generator →

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