#1A1571#1A1571

#1A1571 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.149 H 273.8°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#1A1571
RGBrgb(26, 21, 113)
HSLhsl(243, 69%, 26%)
HSVhsv(243, 81%, 44%)
CMYKcmyk(77%, 81.4%, 0%, 55.7%)
CIE-LABlab(15.21, 34.53, -51.29)
CIE-LCHlch(15.21, 61.83, 303.95°)
OKLaboklab(28.41% 0.0099 -0.1484)
OKLCHoklch(28.41% 0.149 273.8)
XYZxyz(3.6738, 1.9478, 15.8019)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1571 #6C7115
analogous
#153E71 #1A1571 #481571
triadic
#1A1571 #711A15 #15711A
tetradic
#1A1571 #71153E #6C7115 #157148
square
#1A1571 #71153E #6C7115 #157148
split-complementary
#1A1571 #714815 #3E7115
monochromatic
#06051A #0E0B3D #1A1571 #261FA5 #3329D7

Accessibility & contrast

On white

15.11
#1A1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1571
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1571#FFFFFF#000000##FFFFFF
##1A15711.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1571;
/* rgb */ color: rgb(26, 21, 113);
/* oklch */ color: oklch(28.4% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#67549b',
    500: '#1a1571',
    950: '#000000',
  },
}
SCSS
$custom: #1a1571;
$custom-light: #67549b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1571",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 243.261,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.14871,
    "h": 273.8
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#1A1571
secondary
#A1A73B
accent
#EB3CE2
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1571

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

Preview Lab → · Contrast checker → · Palette generator →

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