#2C32C9#2C32C9

#2C32C9 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.225 H 270.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C32C9
RGBrgb(44, 50, 201)
HSLhsl(238, 64%, 48%)
HSVhsv(238, 78%, 79%)
CMYKcmyk(78.1%, 75.1%, 0%, 21.2%)
CIE-LABlab(31.88, 49.36, -77.63)
CIE-LCHlch(31.88, 91.99, 302.45°)
OKLaboklab(43.37% 0.0023 -0.2248)
OKLCHoklch(43.37% 0.225 270.6)
XYZxyz(12.7183, 7.0323, 55.9341)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32C9 #C9C32C
analogous
#2C80C9 #2C32C9 #742CC9
triadic
#2C32C9 #C92C32 #32C92C
tetradic
#2C32C9 #C92C80 #C9C32C #2CC974
square
#2C32C9 #C92C80 #C9C32C #2CC974
split-complementary
#2C32C9 #C9742C #80C92C
monochromatic
#161965 #212697 #2C32C9 #585DDA #8A8EE5

Accessibility & contrast

On white

8.73
#2C32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32C9
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32C9#FFFFFF#000000##FFFFFF
##2C32C91.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0043C6
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c32c9;
/* rgb */ color: rgb(44, 50, 201);
/* oklch */ color: oklch(43.4% 0.225 270.6);
Tailwind
colors: {
  custom: {
    50: '#806cdb',
    500: '#2c32c9',
    950: '#000000',
  },
}
SCSS
$custom: #2c32c9;
$custom-light: #806cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32c9",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 237.707,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.22482,
    "h": 270.6
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#2C32C9
secondary
#CFCC82
accent
#E141E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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