#2C32B8#2C32B8

#2C32B8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.204 H 271.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2C32B8
RGBrgb(44, 50, 184)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 72%)
CMYKcmyk(76.1%, 72.8%, 0%, 27.8%)
CIE-LABlab(30.10, 43.68, -70.57)
CIE-LCHlch(30.10, 82.99, 301.76°)
OKLaboklab(41.57% 0.005 -0.2043)
OKLCHoklch(41.57% 0.204 271.4)
XYZxyz(10.8281, 6.2762, 45.9789)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32B8 #B8B22C
analogous
#2C78B8 #2C32B8 #6C2CB8
triadic
#2C32B8 #B82C32 #32B82C
tetradic
#2C32B8 #B82C78 #B8B22C #2CB86C
square
#2C32B8 #B82C78 #B8B22C #2CB86C
split-complementary
#2C32B8 #B86C2C #78B82C
monochromatic
#141755 #202587 #2C32B8 #4D53D4 #7E82E0

Accessibility & contrast

On white

9.31
#2C32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32B8
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32B8#FFFFFF#000000##FFFFFF
##2C32B81.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.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: #2c32b8;
/* rgb */ color: rgb(44, 50, 184);
/* oklch */ color: oklch(41.6% 0.204 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6bcf',
    500: '#2c32b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c32b8;
$custom-light: #7c6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32b8",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 237.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.20434,
    "h": 271.4
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#2C32B8
secondary
#C9C577
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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