#1A1A76#1A1A76

#1A1A76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.150 H 272.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1A1A76
RGBrgb(26, 26, 118)
HSLhsl(240, 64%, 28%)
HSVhsv(240, 78%, 46%)
CMYKcmyk(78%, 78%, 0%, 53.7%)
CIE-LABlab(16.83, 33.36, -51.85)
CIE-LCHlch(16.83, 61.65, 302.75°)
OKLaboklab(29.72% 0.0065 -0.1501)
OKLCHoklch(29.72% 0.15 272.5)
XYZxyz(4.0643, 2.2660, 17.3592)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A76 #76761A
analogous
#1A4876 #1A1A76 #481A76
triadic
#1A1A76 #761A1A #1A761A
tetradic
#1A1A76 #761A48 #76761A #1A7648
square
#1A1A76 #761A48 #76761A #1A7648
split-complementary
#1A1A76 #76481A #48761A
monochromatic
#060619 #0F0F44 #1A1A76 #2525A8 #3737D3

Accessibility & contrast

On white

14.45
#1A1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A76
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A76#FFFFFF#000000##FFFFFF
##1A1A761.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a1a76;
/* rgb */ color: rgb(26, 26, 118);
/* oklch */ color: oklch(29.7% 0.150 272.5);
Tailwind
colors: {
  custom: {
    50: '#68589f',
    500: '#1a1a76',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a76;
$custom-light: #68589f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a76",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.15021,
    "h": 272.5
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#1A1A76
secondary
#ABAB41
accent
#E741E7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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