#1A2B76#1A2B76

#1A2B76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.130 H 268.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1A2B76
RGBrgb(26, 43, 118)
HSLhsl(229, 64%, 28%)
HSVhsv(229, 78%, 46%)
CMYKcmyk(78%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.04, 22.02, -44.93)
CIE-LCHlch(21.04, 50.04, 296.11°)
OKLaboklab(32.78% -0.0038 -0.1298)
OKLCHoklch(32.78% 0.13 268.3)
XYZxyz(4.5588, 3.2549, 17.5240)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B76 #76651A
analogous
#1A5976 #1A2B76 #371A76
triadic
#1A2B76 #761A2B #2B761A
tetradic
#1A2B76 #761A59 #76651A #1A7637
square
#1A2B76 #761A59 #76651A #1A7637
split-complementary
#1A2B76 #76371A #59761A
monochromatic
#060919 #0F1944 #1A2B76 #253DA8 #3754D3

Accessibility & contrast

On white

12.72
#1A2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B76
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B76#FFFFFF#000000##FFFFFF
##1A2B761.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2b76;
/* rgb */ color: rgb(26, 43, 118);
/* oklch */ color: oklch(32.8% 0.130 268.3);
Tailwind
colors: {
  custom: {
    50: '#66649e',
    500: '#1a2b76',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b76;
$custom-light: #66649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b76",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 228.913,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32777,
    "c": 0.12986,
    "h": 268.3
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#1A2B76
secondary
#AB9741
accent
#C841E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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