#2C32AB#2C32AB

#2C32AB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.188 H 272.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2C32AB
RGBrgb(44, 50, 171)
HSLhsl(237, 59%, 42%)
HSVhsv(237, 74%, 67%)
CMYKcmyk(74.3%, 70.8%, 0%, 32.9%)
CIE-LABlab(28.79, 39.21, -64.97)
CIE-LCHlch(28.79, 75.89, 301.11°)
OKLaboklab(40.24% 0.0069 -0.188)
OKLCHoklch(40.24% 0.188 272.1)
XYZxyz(9.5275, 5.7560, 39.1291)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32AB #ABA52C
analogous
#2C72AB #2C32AB #652CAB
triadic
#2C32AB #AB2C32 #32AB2C
tetradic
#2C32AB #AB2C72 #ABA52C #2CAB65
square
#2C32AB #AB2C72 #ABA52C #2CAB65
split-complementary
#2C32AB #AB652C #72AB2C
monochromatic
#13164A #1F247A #2C32AB #454CCF #767BDC

Accessibility & contrast

On white

9.76
#2C32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32AB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32AB#FFFFFF#000000##FFFFFF
##2C32AB1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c32ab;
/* rgb */ color: rgb(44, 50, 171);
/* oklch */ color: oklch(40.2% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#796bc5',
    500: '#2c32ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c32ab;
$custom-light: #796bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32ab",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 237.165,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.1881,
    "h": 272.1
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#2C32AB
secondary
#C3BF6F
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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