#2A32A9#2A32A9

#2A32A9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.186 H 271.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2A32A9
RGBrgb(42, 50, 169)
HSLhsl(236, 60%, 41%)
HSVhsv(236, 75%, 66%)
CMYKcmyk(75.1%, 70.4%, 0%, 33.7%)
CIE-LABlab(28.48, 38.31, -64.28)
CIE-LCHlch(28.48, 74.84, 300.79°)
OKLaboklab(39.92% 0.0049 -0.186)
OKLCHoklch(39.92% 0.186 271.5)
XYZxyz(9.2545, 5.6370, 38.1288)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A9 #A9A12A
analogous
#2A72A9 #2A32A9 #622AA9
triadic
#2A32A9 #A92A32 #32A92A
tetradic
#2A32A9 #A92A72 #A9A12A #2AA962
square
#2A32A9 #A92A72 #A9A12A #2AA962
split-complementary
#2A32A9 #A9622A #72A92A
monochromatic
#121547 #1E2378 #2A32A9 #414AD0 #7278DC

Accessibility & contrast

On white

9.87
#2A32A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A32A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A9
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A9#FFFFFF#000000##FFFFFF
##2A32A91.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a32a9;
/* rgb */ color: rgb(42, 50, 169);
/* oklch */ color: oklch(39.9% 0.186 271.5);
Tailwind
colors: {
  custom: {
    50: '#786ac4',
    500: '#2a32a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a9;
$custom-light: #786ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a9",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 236.22,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.18608,
    "h": 271.5
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#2A32A9
secondary
#C3BE6C
accent
#D944E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2A32A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2A32A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva