#1A2A76#1A2A76

#1A2A76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 268.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1A2A76
RGBrgb(26, 42, 118)
HSLhsl(230, 64%, 28%)
HSVhsv(230, 78%, 46%)
CMYKcmyk(78%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.76, 22.73, -45.38)
CIE-LCHlch(20.76, 50.75, 296.60°)
OKLaboklab(32.57% -0.003 -0.1311)
OKLCHoklch(32.57% 0.131 268.7)
XYZxyz(4.5229, 3.1831, 17.5121)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A76 #76661A
analogous
#1A5876 #1A2A76 #381A76
triadic
#1A2A76 #761A2A #2A761A
tetradic
#1A2A76 #761A58 #76661A #1A7638
square
#1A2A76 #761A58 #76661A #1A7638
split-complementary
#1A2A76 #76381A #58761A
monochromatic
#060919 #0F1844 #1A2A76 #253CA8 #3752D3

Accessibility & contrast

On white

12.83
#1A2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A76
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A76#FFFFFF#000000##FFFFFF
##1A2A761.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2a76;
/* rgb */ color: rgb(26, 42, 118);
/* oklch */ color: oklch(32.6% 0.131 268.7);
Tailwind
colors: {
  custom: {
    50: '#66639e',
    500: '#1a2a76',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a76;
$custom-light: #66639e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a76",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 229.565,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.13118,
    "h": 268.7
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#1A2A76
secondary
#AB9841
accent
#CA41E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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