#332BCC#332BCC

#332BCC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.233 H 272.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#332BCC
RGBrgb(51, 43, 204)
HSLhsl(243, 65%, 48%)
HSVhsv(243, 79%, 80%)
CMYKcmyk(75%, 78.9%, 0%, 20%)
CIE-LABlab(31.32, 54.46, -80.29)
CIE-LCHlch(31.32, 97.01, 304.15°)
OKLaboklab(43.17% 0.012 -0.2323)
OKLCHoklch(43.17% 0.233 272.9)
XYZxyz(13.1246, 6.7898, 57.7339)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BCC #C4CC2B
analogous
#2B74CC #332BCC #832BCC
triadic
#332BCC #CC332B #2BCC33
tetradic
#332BCC #CC2B74 #C4CC2B #2BCC83
square
#332BCC #CC2B74 #C4CC2B #2BCC83
split-complementary
#332BCC #CC832B #74CC2B
monochromatic
#1A1667 #262099 #332BCC #5F58DC #8F8BE7

Accessibility & contrast

On white

8.91
#332BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#332BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BCC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BCC#FFFFFF#000000##FFFFFF
##332BCC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D0
Deuteranopia (green-blind)
#0042C9
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332bcc;
/* rgb */ color: rgb(51, 43, 204);
/* oklch */ color: oklch(43.2% 0.233 272.9);
Tailwind
colors: {
  custom: {
    50: '#8468dd',
    500: '#332bcc',
    950: '#000000',
  },
}
SCSS
$custom: #332bcc;
$custom-light: #8468dd;
$custom-dark: #000000;
JSON
{
  "hex": "#332bcc",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 242.981,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.23262,
    "h": 272.9
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#332BCC
secondary
#CDD082
accent
#E840E0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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