#1A1996#1A1996

#1A1996 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.191 H 270.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A1996
RGBrgb(26, 25, 150)
HSLhsl(240, 71%, 34%)
HSVhsv(240, 83%, 59%)
CMYKcmyk(82.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.50, 44.76, -65.92)
CIE-LCHlch(20.50, 79.68, 304.18°)
OKLaboklab(33.42% 0 -0.1908)
OKLCHoklch(33.42% 0.191 270)
XYZxyz(6.2768, 3.1161, 29.1189)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1996 #959619
analogous
#195796 #1A1996 #591996
triadic
#1A1996 #961A19 #19961A
tetradic
#1A1996 #961957 #959619 #199659
square
#1A1996 #961957 #959619 #199659
split-complementary
#1A1996 #965919 #579619
monochromatic
#08082D #111062 #1A1996 #2322CA #4A49E1

Accessibility & contrast

On white

12.94
#1A1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1996
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1996#FFFFFF#000000##FFFFFF
##1A19961.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1996;
/* rgb */ color: rgb(26, 25, 150);
/* oklch */ color: oklch(33.4% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#7159b6',
    500: '#1a1996',
    950: '#000000',
  },
}
SCSS
$custom: #1a1996;
$custom-light: #7159b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1996",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 240.48,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.19084,
    "h": 270
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1A1996
secondary
#C1C249
accent
#EE3AED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1996

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

Preview Lab → · Contrast checker → · Palette generator →

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