#1E1A82#1E1A82

#1E1A82 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.165 H 273.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1E1A82
RGBrgb(30, 26, 130)
HSLhsl(242, 67%, 31%)
HSVhsv(242, 80%, 51%)
CMYKcmyk(76.9%, 80%, 0%, 49%)
CIE-LABlab(18.48, 37.89, -56.77)
CIE-LCHlch(18.48, 68.25, 303.72°)
OKLaboklab(31.37% 0.0091 -0.1643)
OKLCHoklch(31.37% 0.165 273.2)
XYZxyz(4.9327, 2.6260, 21.3617)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A82 #7E821A
analogous
#1A4A82 #1E1A82 #521A82
triadic
#1E1A82 #821E1A #1A821E
tetradic
#1E1A82 #821A4A #7E821A #1A8252
square
#1E1A82 #821A4A #7E821A #1A8252
split-complementary
#1E1A82 #82521A #4A821A
monochromatic
#06061C #12104F #1E1A82 #2A24B5 #443ED8

Accessibility & contrast

On white

13.77
#1E1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1A82
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A82#FFFFFF#000000##FFFFFF
##1E1A821.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1a82;
/* rgb */ color: rgb(30, 26, 130);
/* oklch */ color: oklch(31.4% 0.165 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c59a7',
    500: '#1e1a82',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a82;
$custom-light: #6c59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a82",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 242.308,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31365,
    "c": 0.16451,
    "h": 273.2
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#1E1A82
secondary
#B1B642
accent
#EA3EE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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