#1A1B76#1A1B76

#1A1B76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 272.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1A1B76
RGBrgb(26, 27, 118)
HSLhsl(239, 64%, 28%)
HSVhsv(239, 78%, 46%)
CMYKcmyk(78%, 77.1%, 0%, 53.7%)
CIE-LABlab(17.04, 32.74, -51.49)
CIE-LCHlch(17.04, 61.02, 302.45°)
OKLaboklab(29.87% 0.0061 -0.149)
OKLCHoklch(29.87% 0.149 272.3)
XYZxyz(4.0868, 2.3111, 17.3667)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B76 #76751A
analogous
#1A4976 #1A1B76 #471A76
triadic
#1A1B76 #761A1B #1B761A
tetradic
#1A1B76 #761A49 #76751A #1A7647
square
#1A1B76 #761A49 #76751A #1A7647
split-complementary
#1A1B76 #76471A #49761A
monochromatic
#060619 #0F1044 #1A1B76 #2526A8 #3739D3

Accessibility & contrast

On white

14.36
#1A1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1B76
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B76#FFFFFF#000000##FFFFFF
##1A1B761.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.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: #1a1b76;
/* rgb */ color: rgb(26, 27, 118);
/* oklch */ color: oklch(29.9% 0.149 272.3);
Tailwind
colors: {
  custom: {
    50: '#68589f',
    500: '#1a1b76',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b76;
$custom-light: #68589f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b76",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 239.348,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.14916,
    "h": 272.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#1A1B76
secondary
#ABA941
accent
#E541E7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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