#2C32A7#2C32A7

#2C32A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.183 H 272.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C32A7
RGBrgb(44, 50, 167)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 74%, 65%)
CMYKcmyk(73.7%, 70.1%, 0%, 34.5%)
CIE-LABlab(28.40, 37.81, -63.21)
CIE-LCHlch(28.40, 73.66, 300.89°)
OKLaboklab(39.84% 0.0074 -0.1828)
OKLCHoklch(39.84% 0.183 272.3)
XYZxyz(9.1520, 5.6058, 37.1514)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32A7 #A7A12C
analogous
#2C70A7 #2C32A7 #642CA7
triadic
#2C32A7 #A72C32 #32A72C
tetradic
#2C32A7 #A72C70 #A7A12C #2CA764
square
#2C32A7 #A72C70 #A7A12C #2CA764
split-complementary
#2C32A7 #A7642C #70A72C
monochromatic
#121546 #1F2377 #2C32A7 #434ACD #7378DA

Accessibility & contrast

On white

9.90
#2C32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C32A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32A7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32A7#FFFFFF#000000##FFFFFF
##2C32A71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c32a7;
/* rgb */ color: rgb(44, 50, 167);
/* oklch */ color: oklch(39.8% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#786ac2',
    500: '#2c32a7',
    950: '#000000',
  },
}
SCSS
$custom: #2c32a7;
$custom-light: #786ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32a7",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 237.073,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.18299,
    "h": 272.3
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#2C32A7
secondary
#C2BE6D
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2C32A7

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

Preview Lab → · Contrast checker → · Palette generator →

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