#1A1A8D#1A1A8D

#1A1A8D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.179 H 270.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1A1A8D
RGBrgb(26, 26, 141)
HSLhsl(240, 69%, 33%)
HSVhsv(240, 82%, 55%)
CMYKcmyk(81.6%, 81.6%, 0%, 44.7%)
CIE-LABlab(19.56, 41.30, -61.90)
CIE-LCHlch(19.56, 74.41, 303.71°)
OKLaboklab(32.44% 0.0017 -0.1792)
OKLCHoklch(32.44% 0.179 270.6)
XYZxyz(5.6015, 2.8808, 25.4550)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A8D #8D8D1A
analogous
#1A538D #1A1A8D #531A8D
triadic
#1A1A8D #8D1A1A #1A8D1A
tetradic
#1A1A8D #8D1A53 #8D8D1A #1A8D53
square
#1A1A8D #8D1A53 #8D8D1A #1A8D53
split-complementary
#1A1A8D #8D531A #538D1A
monochromatic
#070726 #101059 #1A1A8D #2424C1 #4545DD

Accessibility & contrast

On white

13.32
#1A1A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A1A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A8D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A8D#FFFFFF#000000##FFFFFF
##1A1A8D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a1a8d;
/* rgb */ color: rgb(26, 26, 141);
/* oklch */ color: oklch(32.4% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e59b0',
    500: '#1a1a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a8d;
$custom-light: #6e59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a8d",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.17922,
    "h": 270.6
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#1A1A8D
secondary
#BEBE45
accent
#EC3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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