#1A1A9F#1A1A9F

#1A1A9F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.6% C 0.201 H 269.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1A1A9F
RGBrgb(26, 26, 159)
HSLhsl(240, 72%, 36%)
HSVhsv(240, 84%, 62%)
CMYKcmyk(83.6%, 83.6%, 0%, 37.6%)
CIE-LABlab(21.80, 47.15, -69.29)
CIE-LCHlch(21.80, 83.81, 304.24°)
OKLaboklab(34.64% -0.0021 -0.2006)
OKLCHoklch(34.64% 0.201 269.4)
XYZxyz(7.0513, 3.4608, 33.0905)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A9F #9F9F1A
analogous
#1A5D9F #1A1A9F #5D1A9F
triadic
#1A1A9F #9F1A1A #1A9F1A
tetradic
#1A1A9F #9F1A5D #9F9F1A #1A9F5D
square
#1A1A9F #9F1A5D #9F9F1A #1A9F5D
split-complementary
#1A1A9F #9F5D1A #5D9F1A
monochromatic
#090936 #11116A #1A1A9F #2323D4 #5151E3

Accessibility & contrast

On white

12.41
#1A1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A9F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A9F#FFFFFF#000000##FFFFFF
##1A1A9F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a1a9f;
/* rgb */ color: rgb(26, 26, 159);
/* oklch */ color: oklch(34.6% 0.201 269.4);
Tailwind
colors: {
  custom: {
    50: '#735bbd',
    500: '#1a1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a9f;
$custom-light: #735bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a9f",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.20062,
    "h": 269.4
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#1A1A9F
secondary
#C5C550
accent
#EF39EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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