#2C32AE#2C32AE

#2C32AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.192 H 271.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C32AE
RGBrgb(44, 50, 174)
HSLhsl(237, 60%, 43%)
HSVhsv(237, 75%, 68%)
CMYKcmyk(74.7%, 71.3%, 0%, 31.8%)
CIE-LABlab(29.09, 40.25, -66.28)
CIE-LCHlch(29.09, 77.55, 301.27°)
OKLaboklab(40.54% 0.0064 -0.1918)
OKLCHoklch(40.54% 0.192 271.9)
XYZxyz(9.8167, 5.8716, 40.6522)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32AE #AEA82C
analogous
#2C73AE #2C32AE #672CAE
triadic
#2C32AE #AE2C32 #32AE2C
tetradic
#2C32AE #AE2C73 #AEA82C #2CAE67
square
#2C32AE #AE2C73 #AEA82C #2CAE67
split-complementary
#2C32AE #AE672C #73AE2C
monochromatic
#13164C #20247D #2C32AE #474DD0 #787CDD

Accessibility & contrast

On white

9.66
#2C32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32AE
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32AE#FFFFFF#000000##FFFFFF
##2C32AE1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c32ae;
/* rgb */ color: rgb(44, 50, 174);
/* oklch */ color: oklch(40.5% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bc7',
    500: '#2c32ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c32ae;
$custom-light: #7a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32ae",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 237.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.1919,
    "h": 271.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#2C32AE
secondary
#C5C171
accent
#DC45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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