#1A1561#1A1561

#1A1561 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.128 H 276.2°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#1A1561
RGBrgb(26, 21, 97)
HSLhsl(244, 64%, 23%)
HSVhsv(244, 78%, 38%)
CMYKcmyk(73.2%, 78.4%, 0%, 62%)
CIE-LABlab(13.34, 28.87, -43.86)
CIE-LCHlch(13.34, 52.51, 303.36°)
OKLaboklab(26.54% 0.0137 -0.1268)
OKLCHoklch(26.54% 0.128 276.2)
XYZxyz(2.8511, 1.6188, 11.4691)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1561 #5C6115
analogous
#153661 #1A1561 #401561
triadic
#1A1561 #611A15 #15611A
tetradic
#1A1561 #611536 #5C6115 #156140
square
#1A1561 #611536 #5C6115 #156140
split-complementary
#1A1561 #614015 #366115
monochromatic
#070519 #0D0A2F #1A1561 #272093 #352BC6

Accessibility & contrast

On white

15.86
#1A1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1561
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1561#FFFFFF#000000##FFFFFF
##1A15611.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1561;
/* rgb */ color: rgb(26, 21, 97);
/* oklch */ color: oklch(26.5% 0.128 276.2);
Tailwind
colors: {
  custom: {
    50: '#63538f',
    500: '#1a1561',
    950: '#000000',
  },
}
SCSS
$custom: #1a1561;
$custom-light: #63538f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1561",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 243.947,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26539,
    "c": 0.1275,
    "h": 276.2
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#1A1561
secondary
#92983A
accent
#E740DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A1561

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

Preview Lab → · Contrast checker → · Palette generator →

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