#2A32B8#2A32B8

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

Color values

HEX#2A32B8
RGBrgb(42, 50, 184)
HSLhsl(237, 63%, 44%)
HSVhsv(237, 77%, 72%)
CMYKcmyk(77.2%, 72.8%, 0%, 27.8%)
CIE-LABlab(29.99, 43.51, -70.75)
CIE-LCHlch(29.99, 83.06, 301.59°)
OKLaboklab(41.47% 0.0029 -0.2048)
OKLCHoklch(41.47% 0.205 270.8)
XYZxyz(10.7442, 6.2330, 45.9749)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32B8 #B8B02A
analogous
#2A79B8 #2A32B8 #692AB8
triadic
#2A32B8 #B82A32 #32B82A
tetradic
#2A32B8 #B82A79 #B8B02A #2AB869
square
#2A32B8 #B82A79 #B8B02A #2AB869
split-complementary
#2A32B8 #B8692A #79B82A
monochromatic
#131754 #1F2486 #2A32B8 #4A51D6 #7B81E1

Accessibility & contrast

On white

9.35
#2A32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32B8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32B8#FFFFFF#000000##FFFFFF
##2A32B81.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a32b8;
/* rgb */ color: rgb(42, 50, 184);
/* oklch */ color: oklch(41.5% 0.205 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c6bcf',
    500: '#2a32b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a32b8;
$custom-light: #7c6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32b8",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 236.62,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.20486,
    "h": 270.8
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#2A32B8
secondary
#C9C475
accent
#DD42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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