#332CB4#332CB4

#332CB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.204 H 274.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#332CB4
RGBrgb(51, 44, 180)
HSLhsl(243, 61%, 44%)
HSVhsv(243, 76%, 71%)
CMYKcmyk(71.7%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.90, 46.39, -70.15)
CIE-LCHlch(28.90, 84.10, 303.47°)
OKLaboklab(40.71% 0.0168 -0.2029)
OKLCHoklch(40.71% 0.204 274.7)
XYZxyz(10.5014, 5.7994, 43.7371)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB4 #ADB42C
analogous
#2C69B4 #332CB4 #772CB4
triadic
#332CB4 #B4332C #2CB433
tetradic
#332CB4 #B42C69 #ADB42C #2CB477
square
#332CB4 #B42C69 #ADB42C #2CB477
split-complementary
#332CB4 #B4772C #69B42C
monochromatic
#171452 #252083 #332CB4 #514AD3 #817CDF

Accessibility & contrast

On white

9.72
#332CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#332CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB4#FFFFFF#000000##FFFFFF
##332CB41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332cb4;
/* rgb */ color: rgb(51, 44, 180);
/* oklch */ color: oklch(40.7% 0.204 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e67cc',
    500: '#332cb4',
    950: '#000000',
  },
}
SCSS
$custom: #332cb4;
$custom-light: #7e67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb4",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 243.088,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.20357,
    "h": 274.7
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#332CB4
secondary
#C3C775
accent
#E444DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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