#1A2A72#1A2A72

#1A2A72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.125 H 268.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1A2A72
RGBrgb(26, 42, 114)
HSLhsl(229, 63%, 27%)
HSVhsv(229, 77%, 45%)
CMYKcmyk(77.2%, 63.2%, 0%, 55.3%)
CIE-LABlab(20.40, 21.13, -43.41)
CIE-LCHlch(20.40, 48.27, 295.95°)
OKLaboklab(32.19% -0.003 -0.1253)
OKLCHoklch(32.19% 0.125 268.6)
XYZxyz(4.2902, 3.0900, 16.2867)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A72 #72621A
analogous
#1A5672 #1A2A72 #361A72
triadic
#1A2A72 #721A2A #2A721A
tetradic
#1A2A72 #721A56 #72621A #1A7236
square
#1A2A72 #721A56 #72621A #1A7236
split-complementary
#1A2A72 #72361A #56721A
monochromatic
#060919 #0F1840 #1A2A72 #253CA4 #3552D1

Accessibility & contrast

On white

12.98
#1A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A72
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A72#FFFFFF#000000##FFFFFF
##1A2A721.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2a72;
/* rgb */ color: rgb(26, 42, 114);
/* oklch */ color: oklch(32.2% 0.125 268.6);
Tailwind
colors: {
  custom: {
    50: '#65639b',
    500: '#1a2a72',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a72;
$custom-light: #65639b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a72",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 229.091,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32194,
    "c": 0.12539,
    "h": 268.6
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#1A2A72
secondary
#A79441
accent
#C842E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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