#2A32B3#2A32B3

#2A32B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.199 H 271.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2A32B3
RGBrgb(42, 50, 179)
HSLhsl(236, 62%, 43%)
HSVhsv(236, 77%, 70%)
CMYKcmyk(76.5%, 72.1%, 0%, 29.8%)
CIE-LABlab(29.48, 41.80, -68.62)
CIE-LCHlch(29.48, 80.35, 301.35°)
OKLaboklab(40.95% 0.0036 -0.1986)
OKLCHoklch(40.95% 0.199 271)
XYZxyz(10.2294, 6.0270, 43.2633)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32B3 #B3AB2A
analogous
#2A76B3 #2A32B3 #662AB3
triadic
#2A32B3 #B32A32 #32B32A
tetradic
#2A32B3 #B32A76 #B3AB2A #2AB366
square
#2A32B3 #B32A76 #B3AB2A #2AB366
split-complementary
#2A32B3 #B3662A #76B32A
monochromatic
#131650 #1E2481 #2A32B3 #464FD4 #787EDF

Accessibility & contrast

On white

9.52
#2A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A32B3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32B3#FFFFFF#000000##FFFFFF
##2A32B31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a32b3;
/* rgb */ color: rgb(42, 50, 179);
/* oklch */ color: oklch(40.9% 0.199 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bcb',
    500: '#2a32b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a32b3;
$custom-light: #7a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32b3",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 236.496,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.19868,
    "h": 271
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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