#2A32C4#2A32C4

#2A32C4 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.219 H 270.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2A32C4
RGBrgb(42, 50, 196)
HSLhsl(237, 65%, 47%)
HSVhsv(237, 79%, 77%)
CMYKcmyk(78.6%, 74.5%, 0%, 23.1%)
CIE-LABlab(31.25, 47.56, -75.75)
CIE-LCHlch(31.25, 89.44, 302.13°)
OKLaboklab(42.73% 0.0011 -0.2194)
OKLCHoklch(42.73% 0.219 270.3)
XYZxyz(12.0559, 6.7576, 52.8828)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32C4 #C4BC2A
analogous
#2A7FC4 #2A32C4 #6F2AC4
triadic
#2A32C4 #C42A32 #32C42A
tetradic
#2A32C4 #C42A7F #C4BC2A #2AC46F
square
#2A32C4 #C42A7F #C4BC2A #2AC46F
split-complementary
#2A32C4 #C46F2A #7FC42A
monochromatic
#14185F #1F2592 #2A32C4 #5158DA #8489E5

Accessibility & contrast

On white

8.93
#2A32C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A32C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32C4
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32C4#FFFFFF#000000##FFFFFF
##2A32C41.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0042C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a32c4;
/* rgb */ color: rgb(42, 50, 196);
/* oklch */ color: oklch(42.7% 0.219 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f6cd7',
    500: '#2a32c4',
    950: '#000000',
  },
}
SCSS
$custom: #2a32c4;
$custom-light: #7f6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32c4",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 236.883,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.21939,
    "h": 270.3
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#2A32C4
secondary
#CEC97C
accent
#DF40E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2A32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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