#1A2A74#1A2A74

#1A2A74 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.128 H 268.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1A2A74
RGBrgb(26, 42, 116)
HSLhsl(229, 63%, 28%)
HSVhsv(229, 78%, 45%)
CMYKcmyk(77.6%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.58, 21.93, -44.40)
CIE-LCHlch(20.58, 49.52, 296.29°)
OKLaboklab(32.38% -0.003 -0.1282)
OKLCHoklch(32.38% 0.128 268.7)
XYZxyz(4.4053, 3.1360, 16.8928)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A74 #74641A
analogous
#1A5774 #1A2A74 #371A74
triadic
#1A2A74 #741A2A #2A741A
tetradic
#1A2A74 #741A57 #74641A #1A7437
square
#1A2A74 #741A57 #74641A #1A7437
split-complementary
#1A2A74 #74371A #57741A
monochromatic
#060919 #0F1842 #1A2A74 #253CA6 #3652D2

Accessibility & contrast

On white

12.91
#1A2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A74
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A74#FFFFFF#000000##FFFFFF
##1A2A741.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2a74;
/* rgb */ color: rgb(26, 42, 116);
/* oklch */ color: oklch(32.4% 0.128 268.7);
Tailwind
colors: {
  custom: {
    50: '#66639d',
    500: '#1a2a74',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a74;
$custom-light: #66639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a74",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 229.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.12829,
    "h": 268.7
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#1A2A74
secondary
#A99641
accent
#C941E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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