#2C32B2#2C32B2

#2C32B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.197 H 271.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C32B2
RGBrgb(44, 50, 178)
HSLhsl(237, 60%, 44%)
HSVhsv(237, 75%, 70%)
CMYKcmyk(75.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.49, 41.63, -68.01)
CIE-LCHlch(29.49, 79.74, 301.48°)
OKLaboklab(40.95% 0.0059 -0.1968)
OKLCHoklch(40.95% 0.197 271.7)
XYZxyz(10.2125, 6.0299, 42.7365)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32B2 #B2AC2C
analogous
#2C75B2 #2C32B2 #692CB2
triadic
#2C32B2 #B22C32 #32B22C
tetradic
#2C32B2 #B22C75 #B2AC2C #2CB269
square
#2C32B2 #B22C75 #B2AC2C #2CB269
split-complementary
#2C32B2 #B2692C #75B22C
monochromatic
#141650 #202481 #2C32B2 #494FD2 #7A7FDE

Accessibility & contrast

On white

9.52
#2C32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32B2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32B2#FFFFFF#000000##FFFFFF
##2C32B21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c32b2;
/* rgb */ color: rgb(44, 50, 178);
/* oklch */ color: oklch(41.0% 0.197 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b6bca',
    500: '#2c32b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c32b2;
$custom-light: #7b6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32b2",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 237.313,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.19692,
    "h": 271.7
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#2C32B2
secondary
#C6C373
accent
#DC44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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