#1E1A9E#1E1A9E

#1E1A9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.198 H 270.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1E1A9E
RGBrgb(30, 26, 158)
HSLhsl(242, 72%, 36%)
HSVhsv(242, 84%, 62%)
CMYKcmyk(81%, 83.5%, 0%, 38%)
CIE-LABlab(21.88, 47.04, -68.54)
CIE-LCHlch(21.88, 83.13, 304.46°)
OKLaboklab(34.72% 0.0025 -0.1984)
OKLCHoklch(34.72% 0.198 270.7)
XYZxyz(7.0743, 3.4826, 32.6405)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A9E #9A9E1A
analogous
#1A589E #1E1A9E #601A9E
triadic
#1E1A9E #9E1E1A #1A9E1E
tetradic
#1E1A9E #9E1A58 #9A9E1A #1A9E60
square
#1E1A9E #9E1A58 #9A9E1A #1A9E60
split-complementary
#1E1A9E #9E601A #589E1A
monochromatic
#0A0935 #141169 #1E1A9E #2823D3 #5550E2

Accessibility & contrast

On white

12.38
#1E1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A9E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A9E#FFFFFF#000000##FFFFFF
##1E1A9E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e1a9e;
/* rgb */ color: rgb(30, 26, 158);
/* oklch */ color: oklch(34.7% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#745bbc',
    500: '#1e1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a9e;
$custom-light: #745bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a9e",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 241.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.1984,
    "h": 270.7
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#1E1A9E
secondary
#C1C54F
accent
#EE39E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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