#2A32B4#2A32B4

#2A32B4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.200 H 271.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2A32B4
RGBrgb(42, 50, 180)
HSLhsl(237, 62%, 44%)
HSVhsv(237, 77%, 71%)
CMYKcmyk(76.7%, 72.2%, 0%, 29.4%)
CIE-LABlab(29.58, 42.14, -69.05)
CIE-LCHlch(29.58, 80.89, 301.40°)
OKLaboklab(41.05% 0.0034 -0.1999)
OKLCHoklch(41.05% 0.2 271)
XYZxyz(10.3309, 6.0676, 43.7979)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32B4 #B4AC2A
analogous
#2A77B4 #2A32B4 #672AB4
triadic
#2A32B4 #B42A32 #32B42A
tetradic
#2A32B4 #B42A77 #B4AC2A #2AB467
square
#2A32B4 #B42A77 #B4AC2A #2AB467
split-complementary
#2A32B4 #B4672A #77B42A
monochromatic
#131651 #1E2482 #2A32B4 #474FD4 #797FE0

Accessibility & contrast

On white

9.49
#2A32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32B4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32B4#FFFFFF#000000##FFFFFF
##2A32B41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a32b4;
/* rgb */ color: rgb(42, 50, 180);
/* oklch */ color: oklch(41.0% 0.200 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b6bcc',
    500: '#2a32b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a32b4;
$custom-light: #7b6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32b4",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 236.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.19993,
    "h": 271
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#2A32B4
secondary
#C8C372
accent
#DC43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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