#332CC4#332CC4

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

Color values

HEX#332CC4
RGBrgb(51, 44, 196)
HSLhsl(243, 63%, 47%)
HSVhsv(243, 78%, 77%)
CMYKcmyk(74%, 77.6%, 0%, 23.1%)
CIE-LABlab(30.62, 51.47, -76.78)
CIE-LCHlch(30.62, 92.44, 303.84°)
OKLaboklab(42.42% 0.0134 -0.2221)
OKLCHoklch(42.42% 0.223 273.4)
XYZxyz(12.2264, 6.4894, 52.8221)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CC4 #BDC42C
analogous
#2C71C4 #332CC4 #7F2CC4
triadic
#332CC4 #C4332C #2CC433
tetradic
#332CC4 #C42C71 #BDC42C #2CC47F
square
#332CC4 #C42C71 #BDC42C #2CC47F
split-complementary
#332CC4 #C47F2C #71C42C
monochromatic
#191660 #262192 #332CC4 #5B54D9 #8B86E4

Accessibility & contrast

On white

9.14
#332CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#332CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CC4
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CC4#FFFFFF#000000##FFFFFF
##332CC41.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #332cc4;
/* rgb */ color: rgb(51, 44, 196);
/* oklch */ color: oklch(42.4% 0.223 273.4);
Tailwind
colors: {
  custom: {
    50: '#8268d7',
    500: '#332cc4',
    950: '#000000',
  },
}
SCSS
$custom: #332cc4;
$custom-light: #8268d7;
$custom-dark: #000000;
JSON
{
  "hex": "#332cc4",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 242.763,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.22254,
    "h": 273.4
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#332CC4
secondary
#CACD7E
accent
#E641DF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #332CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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