#2C32AD#2C32AD

#2C32AD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.191 H 272.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C32AD
RGBrgb(44, 50, 173)
HSLhsl(237, 59%, 43%)
HSVhsv(237, 75%, 68%)
CMYKcmyk(74.6%, 71.1%, 0%, 32.2%)
CIE-LABlab(28.99, 39.91, -65.84)
CIE-LCHlch(28.99, 76.99, 301.22°)
OKLaboklab(40.44% 0.0066 -0.1905)
OKLCHoklch(40.44% 0.191 272)
XYZxyz(9.7196, 5.8328, 40.1407)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32AD #ADA72C
analogous
#2C73AD #2C32AD #662CAD
triadic
#2C32AD #AD2C32 #32AD2C
tetradic
#2C32AD #AD2C73 #ADA72C #2CAD66
square
#2C32AD #AD2C73 #ADA72C #2CAD66
split-complementary
#2C32AD #AD662C #73AD2C
monochromatic
#13164B #20247C #2C32AD #464DD0 #777CDC

Accessibility & contrast

On white

9.69
#2C32AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C32AD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32AD#FFFFFF#000000##FFFFFF
##2C32AD1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c32ad;
/* rgb */ color: rgb(44, 50, 173);
/* oklch */ color: oklch(40.4% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bc7',
    500: '#2c32ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c32ad;
$custom-light: #7a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32ad",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 237.209,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.19063,
    "h": 272
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#2C32AD
secondary
#C4C071
accent
#DB45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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