#2C32B4#2C32B4

#2C32B4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.199 H 271.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2C32B4
RGBrgb(44, 50, 180)
HSLhsl(237, 61%, 44%)
HSVhsv(237, 76%, 71%)
CMYKcmyk(75.6%, 72.2%, 0%, 29.4%)
CIE-LABlab(29.69, 42.32, -68.86)
CIE-LCHlch(29.69, 80.83, 301.57°)
OKLaboklab(41.16% 0.0056 -0.1993)
OKLCHoklch(41.16% 0.199 271.6)
XYZxyz(10.4147, 6.1109, 43.8018)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32B4 #B4AE2C
analogous
#2C76B4 #2C32B4 #6A2CB4
triadic
#2C32B4 #B42C32 #32B42C
tetradic
#2C32B4 #B42C76 #B4AE2C #2CB46A
square
#2C32B4 #B42C76 #B4AE2C #2CB46A
split-complementary
#2C32B4 #B46A2C #76B42C
monochromatic
#141752 #202483 #2C32B4 #4A50D3 #7C80DF

Accessibility & contrast

On white

9.45
#2C32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32B4
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32B4#FFFFFF#000000##FFFFFF
##2C32B41.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c32b4;
/* rgb */ color: rgb(44, 50, 180);
/* oklch */ color: oklch(41.2% 0.199 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b6bcc',
    500: '#2c32b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c32b4;
$custom-light: #7b6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32b4",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 237.353,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.19941,
    "h": 271.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#2C32B4
secondary
#C7C475
accent
#DD44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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