#1A1370#1A1370

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

Color values

HEX#1A1370
RGBrgb(26, 19, 112)
HSLhsl(245, 71%, 26%)
HSVhsv(245, 83%, 44%)
CMYKcmyk(76.8%, 83%, 0%, 56.1%)
CIE-LABlab(14.71, 35.29, -51.48)
CIE-LCHlch(14.71, 62.41, 304.43°)
OKLaboklab(28.02% 0.011 -0.1489)
OKLCHoklch(28.02% 0.149 274.2)
XYZxyz(3.5825, 1.8548, 15.4953)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1370 #697013
analogous
#133A70 #1A1370 #481370
triadic
#1A1370 #701A13 #13701A
tetradic
#1A1370 #70133A #697013 #137048
square
#1A1370 #70133A #697013 #137048
split-complementary
#1A1370 #704813 #3A7013
monochromatic
#06041A #0E0A3C #1A1370 #261CA4 #3225D9

Accessibility & contrast

On white

15.32
#1A1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1370
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1370#FFFFFF#000000##FFFFFF
##1A13701.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1370;
/* rgb */ color: rgb(26, 19, 112);
/* oklch */ color: oklch(28.0% 0.149 274.2);
Tailwind
colors: {
  custom: {
    50: '#67539a',
    500: '#1a1370',
    950: '#000000',
  },
}
SCSS
$custom: #1a1370;
$custom-light: #67539a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1370",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 244.516,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2802,
    "c": 0.1493,
    "h": 274.2
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#1A1370
secondary
#9EA738
accent
#EE3AE0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1370

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

Preview Lab → · Contrast checker → · Palette generator →

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