#1A1372#1A1372

#1A1372 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.152 H 274.0°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#1A1372
RGBrgb(26, 19, 114)
HSLhsl(244, 71%, 26%)
HSVhsv(244, 83%, 45%)
CMYKcmyk(77.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(14.95, 35.96, -52.37)
CIE-LCHlch(14.95, 63.53, 304.48°)
OKLaboklab(28.26% 0.0105 -0.1515)
OKLCHoklch(28.26% 0.152 274)
XYZxyz(3.6951, 1.8999, 16.0883)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1372 #6B7213
analogous
#133B72 #1A1372 #491372
triadic
#1A1372 #721A13 #13721A
tetradic
#1A1372 #72133B #6B7213 #137249
square
#1A1372 #72133B #6B7213 #137249
split-complementary
#1A1372 #724913 #3B7213
monochromatic
#06041A #0E0A3E #1A1372 #261CA6 #3225DB

Accessibility & contrast

On white

15.22
#1A1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1372
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1372#FFFFFF#000000##FFFFFF
##1A13721.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1372;
/* rgb */ color: rgb(26, 19, 114);
/* oklch */ color: oklch(28.3% 0.152 274.0);
Tailwind
colors: {
  custom: {
    50: '#67539c',
    500: '#1a1372',
    950: '#000000',
  },
}
SCSS
$custom: #1a1372;
$custom-light: #67539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1372",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 244.421,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.15183,
    "h": 274
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#1A1372
secondary
#A0A938
accent
#EE3AE1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1372

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

Preview Lab → · Contrast checker → · Palette generator →

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