#1A1D93#1A1D93

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

Color values

HEX#1A1D93
RGBrgb(26, 29, 147)
HSLhsl(239, 70%, 34%)
HSVhsv(239, 82%, 58%)
CMYKcmyk(82.3%, 80.3%, 0%, 42.4%)
CIE-LABlab(20.84, 41.70, -63.50)
CIE-LCHlch(20.84, 75.97, 303.30°)
OKLaboklab(33.55% -0.0003 -0.1839)
OKLCHoklch(33.55% 0.184 269.9)
XYZxyz(6.1300, 3.2042, 27.8935)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D93 #93901A
analogous
#1A5A93 #1A1D93 #541A93
triadic
#1A1D93 #931A1D #1D931A
tetradic
#1A1D93 #931A5A #93901A #1A9354
square
#1A1D93 #931A5A #93901A #1A9354
split-complementary
#1A1D93 #93541A #5A931A
monochromatic
#08082B #11135F #1A1D93 #2327C7 #494CDF

Accessibility & contrast

On white

12.80
#1A1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1D93
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D93#FFFFFF#000000##FFFFFF
##1A1D931.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a1d93;
/* rgb */ color: rgb(26, 29, 147);
/* oklch */ color: oklch(33.6% 0.184 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f5bb4',
    500: '#1a1d93',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d93;
$custom-light: #6f5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d93",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 238.512,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.1839,
    "h": 269.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#1A1D93
secondary
#C0BD48
accent
#E83BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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