#2C32C0#2C32C0

#2C32C0 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.214 H 271.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C32C0
RGBrgb(44, 50, 192)
HSLhsl(238, 63%, 46%)
HSVhsv(238, 77%, 75%)
CMYKcmyk(77.1%, 74%, 0%, 24.7%)
CIE-LABlab(30.93, 46.38, -73.92)
CIE-LCHlch(30.93, 87.27, 302.10°)
OKLaboklab(42.41% 0.0038 -0.214)
OKLCHoklch(42.41% 0.214 271)
XYZxyz(11.6905, 6.6212, 50.5208)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C32C0 #C0BA2C
analogous
#2C7CC0 #2C32C0 #702CC0
triadic
#2C32C0 #C02C32 #32C02C
tetradic
#2C32C0 #C02C7C #C0BA2C #2CC070
square
#2C32C0 #C02C7C #C0BA2C #2CC070
split-complementary
#2C32C0 #C0702C #7CC02C
monochromatic
#15185C #21258E #2C32C0 #5257D7 #8488E3

Accessibility & contrast

On white

9.03
#2C32C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C32C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C32C0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C32C0#FFFFFF#000000##FFFFFF
##2C32C01.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0041BD
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c32c0;
/* rgb */ color: rgb(44, 50, 192);
/* oklch */ color: oklch(42.4% 0.214 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bd4',
    500: '#2c32c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c32c0;
$custom-light: #7e6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c32c0",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 237.568,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.21408,
    "h": 271
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#2C32C0
secondary
#CCC97C
accent
#DF42E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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