#2A32B5#2A32B5

#2A32B5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.201 H 270.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A32B5
RGBrgb(42, 50, 181)
HSLhsl(237, 62%, 44%)
HSVhsv(237, 77%, 71%)
CMYKcmyk(76.8%, 72.4%, 0%, 29%)
CIE-LABlab(29.68, 42.49, -69.47)
CIE-LCHlch(29.68, 81.43, 301.45°)
OKLaboklab(41.15% 0.0033 -0.2011)
OKLCHoklch(41.15% 0.201 270.9)
XYZxyz(10.4331, 6.1085, 44.3363)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32B5 #B5AD2A
analogous
#2A77B5 #2A32B5 #672AB5
triadic
#2A32B5 #B52A32 #32B52A
tetradic
#2A32B5 #B52A77 #B5AD2A #2AB567
square
#2A32B5 #B52A77 #B5AD2A #2AB567
split-complementary
#2A32B5 #B5672A #77B52A
monochromatic
#131752 #1E2483 #2A32B5 #4850D4 #797FE0

Accessibility & contrast

On white

9.45
#2A32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32B5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32B5#FFFFFF#000000##FFFFFF
##2A32B51.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a32b5;
/* rgb */ color: rgb(42, 50, 181);
/* oklch */ color: oklch(41.2% 0.201 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bcc',
    500: '#2a32b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a32b5;
$custom-light: #7b6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32b5",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 236.547,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.20117,
    "h": 270.9
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#2A32B5
secondary
#C8C373
accent
#DC42E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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