#1A1E76#1A1E76

#1A1E76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.146 H 271.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#1A1E76
RGBrgb(26, 30, 118)
HSLhsl(237, 64%, 28%)
HSVhsv(237, 78%, 46%)
CMYKcmyk(78%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.72, 30.86, -50.38)
CIE-LCHlch(17.72, 59.08, 301.49°)
OKLaboklab(30.35% 0.0045 -0.1458)
OKLCHoklch(30.35% 0.146 271.8)
XYZxyz(4.1592, 2.4557, 17.3908)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E76 #76721A
analogous
#1A4C76 #1A1E76 #441A76
triadic
#1A1E76 #761A1E #1E761A
tetradic
#1A1E76 #761A4C #76721A #1A7644
square
#1A1E76 #761A4C #76721A #1A7644
split-complementary
#1A1E76 #76441A #4C761A
monochromatic
#060619 #0F1144 #1A1E76 #252BA8 #373ED3

Accessibility & contrast

On white

14.08
#1A1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E76
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E76#FFFFFF#000000##FFFFFF
##1A1E761.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1e76;
/* rgb */ color: rgb(26, 30, 118);
/* oklch */ color: oklch(30.4% 0.146 271.8);
Tailwind
colors: {
  custom: {
    50: '#675a9e',
    500: '#1a1e76',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e76;
$custom-light: #675a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e76",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 237.391,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.14588,
    "h": 271.8
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#1A1E76
secondary
#ABA641
accent
#E041E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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