#2A32A7#2A32A7

#2A32A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.184 H 271.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2A32A7
RGBrgb(42, 50, 167)
HSLhsl(236, 60%, 41%)
HSVhsv(236, 75%, 65%)
CMYKcmyk(74.9%, 70.1%, 0%, 34.5%)
CIE-LABlab(28.28, 37.60, -63.40)
CIE-LCHlch(28.28, 73.72, 300.67°)
OKLaboklab(39.72% 0.0051 -0.1834)
OKLCHoklch(39.72% 0.184 271.6)
XYZxyz(9.0681, 5.5625, 37.1475)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A7 #A79F2A
analogous
#2A70A7 #2A32A7 #602AA7
triadic
#2A32A7 #A72A32 #32A72A
tetradic
#2A32A7 #A72A70 #A79F2A #2AA760
square
#2A32A7 #A72A70 #A79F2A #2AA760
split-complementary
#2A32A7 #A7602A #70A72A
monochromatic
#111545 #1E2376 #2A32A7 #3F49CF #7077DB

Accessibility & contrast

On white

9.94
#2A32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A32A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A7
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A7#FFFFFF#000000##FFFFFF
##2A32A71.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a32a7;
/* rgb */ color: rgb(42, 50, 167);
/* oklch */ color: oklch(39.7% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#786ac2',
    500: '#2a32a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a7;
$custom-light: #786ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a7",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 236.16,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.18352,
    "h": 271.6
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#2A32A7
secondary
#C2BD6B
accent
#D945E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2A32A7

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

Preview Lab → · Contrast checker → · Palette generator →

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