#1A1A77#1A1A77

#1A1A77 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.152 H 272.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1A1A77
RGBrgb(26, 26, 119)
HSLhsl(240, 64%, 28%)
HSVhsv(240, 78%, 47%)
CMYKcmyk(78.2%, 78.2%, 0%, 53.3%)
CIE-LABlab(16.94, 33.71, -52.30)
CIE-LCHlch(16.94, 62.23, 302.80°)
OKLaboklab(29.84% 0.0063 -0.1514)
OKLCHoklch(29.84% 0.152 272.4)
XYZxyz(4.1241, 2.2899, 17.6738)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A77 #77771A
analogous
#1A4877 #1A1A77 #481A77
triadic
#1A1A77 #771A1A #1A771A
tetradic
#1A1A77 #771A48 #77771A #1A7748
square
#1A1A77 #771A48 #77771A #1A7748
split-complementary
#1A1A77 #77481A #48771A
monochromatic
#050519 #0F0F45 #1A1A77 #2525A9 #3838D3

Accessibility & contrast

On white

14.40
#1A1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A1A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A77
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A77#FFFFFF#000000##FFFFFF
##1A1A771.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1a77;
/* rgb */ color: rgb(26, 26, 119);
/* oklch */ color: oklch(29.8% 0.152 272.4);
Tailwind
colors: {
  custom: {
    50: '#68589f',
    500: '#1a1a77',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a77;
$custom-light: #68589f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a77",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.15152,
    "h": 272.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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