#1E1A85#1E1A85

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

Color values

HEX#1E1A85
RGBrgb(30, 26, 133)
HSLhsl(242, 67%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(77.4%, 80.5%, 0%, 47.8%)
CIE-LABlab(18.83, 38.90, -58.08)
CIE-LCHlch(18.83, 69.90, 303.82°)
OKLaboklab(31.72% 0.0084 -0.1681)
OKLCHoklch(31.72% 0.168 272.8)
XYZxyz(5.1370, 2.7077, 22.4377)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A85 #81851A
analogous
#1A4B85 #1E1A85 #531A85
triadic
#1E1A85 #851E1A #1A851E
tetradic
#1E1A85 #851A4B #81851A #1A8553
square
#1E1A85 #851A4B #81851A #1A8553
split-complementary
#1E1A85 #85531A #4B851A
monochromatic
#07061F #121052 #1E1A85 #2A24B8 #4640DA

Accessibility & contrast

On white

13.62
#1E1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1A85
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A85#FFFFFF#000000##FFFFFF
##1E1A851.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1a85;
/* rgb */ color: rgb(30, 26, 133);
/* oklch */ color: oklch(31.7% 0.168 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d59aa',
    500: '#1e1a85',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a85;
$custom-light: #6d59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a85",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 242.243,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.16827,
    "h": 272.8
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#1E1A85
secondary
#B4B842
accent
#EA3EE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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