#1A1A84#1A1A84

#1A1A84 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.168 H 271.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1A1A84
RGBrgb(26, 26, 132)
HSLhsl(240, 67%, 31%)
HSVhsv(240, 80%, 52%)
CMYKcmyk(80.3%, 80.3%, 0%, 48.2%)
CIE-LABlab(18.47, 38.26, -58.05)
CIE-LCHlch(18.47, 69.53, 303.38°)
OKLaboklab(31.36% 0.0037 -0.1681)
OKLCHoklch(31.36% 0.168 271.2)
XYZxyz(4.9588, 2.6238, 22.0704)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A84 #84841A
analogous
#1A4F84 #1A1A84 #4F1A84
triadic
#1A1A84 #841A1A #1A841A
tetradic
#1A1A84 #841A4F #84841A #1A844F
square
#1A1A84 #841A4F #84841A #1A844F
split-complementary
#1A1A84 #844F1A #4F841A
monochromatic
#06061E #101051 #1A1A84 #2424B7 #3F3FD9

Accessibility & contrast

On white

13.77
#1A1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A84
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A84#FFFFFF#000000##FFFFFF
##1A1A841.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1a84;
/* rgb */ color: rgb(26, 26, 132);
/* oklch */ color: oklch(31.4% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c59a9',
    500: '#1a1a84',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a84;
$custom-light: #6c59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a84",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31362,
    "c": 0.16812,
    "h": 271.2
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#1A1A84
secondary
#B8B842
accent
#EA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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