#1E1A95#1E1A95

#1E1A95 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.188 H 271.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1E1A95
RGBrgb(30, 26, 149)
HSLhsl(242, 70%, 34%)
HSVhsv(242, 83%, 58%)
CMYKcmyk(79.9%, 82.6%, 0%, 41.6%)
CIE-LABlab(20.77, 44.17, -64.86)
CIE-LCHlch(20.77, 78.47, 304.26°)
OKLaboklab(33.63% 0.0046 -0.1877)
OKLCHoklch(33.63% 0.188 271.4)
XYZxyz(6.3278, 3.1840, 28.7090)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A95 #91951A
analogous
#1A5495 #1E1A95 #5C1A95
triadic
#1E1A95 #951E1A #1A951E
tetradic
#1E1A95 #951A54 #91951A #1A955C
square
#1E1A95 #951A54 #91951A #1A955C
split-complementary
#1E1A95 #955C1A #54951A
monochromatic
#09082D #141161 #1E1A95 #2823C9 #4F4ADF

Accessibility & contrast

On white

12.83
#1E1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1A95
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A95#FFFFFF#000000##FFFFFF
##1E1A951.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e1a95;
/* rgb */ color: rgb(30, 26, 149);
/* oklch */ color: oklch(33.6% 0.188 271.4);
Tailwind
colors: {
  custom: {
    50: '#715ab6',
    500: '#1e1a95',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a95;
$custom-light: #715ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a95",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 241.951,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33627,
    "c": 0.18778,
    "h": 271.4
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#1E1A95
secondary
#BDC14A
accent
#ED3BE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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