#1A1474#1A1474

#1A1474 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.153 H 273.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#1A1474
RGBrgb(26, 20, 116)
HSLhsl(244, 71%, 27%)
HSVhsv(244, 83%, 45%)
CMYKcmyk(77.6%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.38, 36.10, -52.95)
CIE-LCHlch(15.38, 64.08, 304.29°)
OKLaboklab(28.64% 0.0096 -0.1532)
OKLCHoklch(28.64% 0.153 273.6)
XYZxyz(3.8275, 1.9805, 16.7002)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1474 #6E7414
analogous
#143E74 #1A1474 #4A1474
triadic
#1A1474 #741A14 #14741A
tetradic
#1A1474 #74143E #6E7414 #14744A
square
#1A1474 #74143E #6E7414 #14744A
split-complementary
#1A1474 #744A14 #3E7414
monochromatic
#06051A #0E0B40 #1A1474 #261DA8 #3428DA

Accessibility & contrast

On white

15.04
#1A1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1474
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1474#FFFFFF#000000##FFFFFF
##1A14741.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1474;
/* rgb */ color: rgb(26, 20, 116);
/* oklch */ color: oklch(28.6% 0.153 273.6);
Tailwind
colors: {
  custom: {
    50: '#68549d',
    500: '#1a1474',
    950: '#000000',
  },
}
SCSS
$custom: #1a1474;
$custom-light: #68549d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1474",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 243.75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28636,
    "c": 0.15347,
    "h": 273.6
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#1A1474
secondary
#A3AA3A
accent
#ED3AE2
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1474

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

Preview Lab → · Contrast checker → · Palette generator →

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