#332CC5#332CC5

#332CC5 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.224 H 273.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#332CC5
RGBrgb(51, 44, 197)
HSLhsl(243, 63%, 47%)
HSVhsv(243, 78%, 77%)
CMYKcmyk(74.1%, 77.7%, 0%, 22.7%)
CIE-LABlab(30.72, 51.79, -77.19)
CIE-LCHlch(30.72, 92.95, 303.86°)
OKLaboklab(42.53% 0.0132 -0.2233)
OKLCHoklch(42.53% 0.224 273.4)
XYZxyz(12.3406, 6.5351, 53.4235)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CC5 #BEC52C
analogous
#2C72C5 #332CC5 #7F2CC5
triadic
#332CC5 #C5332C #2CC533
tetradic
#332CC5 #C52C72 #BEC52C #2CC57F
square
#332CC5 #C52C72 #BEC52C #2CC57F
split-complementary
#332CC5 #C57F2C #72C52C
monochromatic
#191661 #262193 #332CC5 #5B55D9 #8B87E4

Accessibility & contrast

On white

9.10
#332CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#332CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CC5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CC5#FFFFFF#000000##FFFFFF
##332CC51.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0041C2
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #332cc5;
/* rgb */ color: rgb(51, 44, 197);
/* oklch */ color: oklch(42.5% 0.224 273.4);
Tailwind
colors: {
  custom: {
    50: '#8268d8',
    500: '#332cc5',
    950: '#000000',
  },
}
SCSS
$custom: #332cc5;
$custom-light: #8268d8;
$custom-dark: #000000;
JSON
{
  "hex": "#332cc5",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 242.745,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.22371,
    "h": 273.4
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#332CC5
secondary
#CACE7F
accent
#E741DF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #332CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#332CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva