#2A32B7#2A32B7

#2A32B7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.204 H 270.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2A32B7
RGBrgb(42, 50, 183)
HSLhsl(237, 63%, 44%)
HSVhsv(237, 77%, 72%)
CMYKcmyk(77%, 72.7%, 0%, 28.2%)
CIE-LABlab(29.89, 43.17, -70.32)
CIE-LCHlch(29.89, 82.52, 301.55°)
OKLaboklab(41.36% 0.003 -0.2036)
OKLCHoklch(41.36% 0.204 270.8)
XYZxyz(10.6398, 6.1912, 45.4248)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32B7 #B7AF2A
analogous
#2A79B7 #2A32B7 #692AB7
triadic
#2A32B7 #B72A32 #32B72A
tetradic
#2A32B7 #B72A79 #B7AF2A #2AB769
square
#2A32B7 #B72A79 #B7AF2A #2AB769
split-complementary
#2A32B7 #B7692A #79B72A
monochromatic
#131753 #1F2485 #2A32B7 #4951D5 #7B81E1

Accessibility & contrast

On white

9.38
#2A32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2A32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32B7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32B7#FFFFFF#000000##FFFFFF
##2A32B71.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a32b7;
/* rgb */ color: rgb(42, 50, 183);
/* oklch */ color: oklch(41.4% 0.204 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b6bce',
    500: '#2a32b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a32b7;
$custom-light: #7b6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32b7",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 236.596,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41362,
    "c": 0.20363,
    "h": 270.8
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#2A32B7
secondary
#C9C474
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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