#1A1371#1A1371

#1A1371 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.151 H 274.1°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#1A1371
RGBrgb(26, 19, 113)
HSLhsl(244, 71%, 26%)
HSVhsv(244, 83%, 44%)
CMYKcmyk(77%, 83.2%, 0%, 55.7%)
CIE-LABlab(14.83, 35.63, -51.92)
CIE-LCHlch(14.83, 62.97, 304.46°)
OKLaboklab(28.14% 0.0108 -0.1502)
OKLCHoklch(28.14% 0.151 274.1)
XYZxyz(3.6385, 1.8772, 15.7902)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1371 #6A7113
analogous
#133B71 #1A1371 #491371
triadic
#1A1371 #711A13 #13711A
tetradic
#1A1371 #71133B #6A7113 #137149
square
#1A1371 #71133B #6A7113 #137149
split-complementary
#1A1371 #714913 #3B7113
monochromatic
#06041A #0E0A3D #1A1371 #261CA5 #3225DA

Accessibility & contrast

On white

15.27
#1A1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1371
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1371#FFFFFF#000000##FFFFFF
##1A13711.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1371;
/* rgb */ color: rgb(26, 19, 113);
/* oklch */ color: oklch(28.1% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#67539b',
    500: '#1a1371',
    950: '#000000',
  },
}
SCSS
$custom: #1a1371;
$custom-light: #67539b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1371",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 244.468,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28142,
    "c": 0.15056,
    "h": 274.1
  },
  "luminance": 0.01878
}

Semantic roles & 50–950 ramp

primary
#1A1371
secondary
#9FA838
accent
#EE3AE1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1371

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

Preview Lab → · Contrast checker → · Palette generator →

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