#332CCD#332CCD

#332CCD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.4% C 0.233 H 272.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#332CCD
RGBrgb(51, 44, 205)
HSLhsl(243, 65%, 49%)
HSVhsv(243, 79%, 80%)
CMYKcmyk(75.1%, 78.5%, 0%, 19.6%)
CIE-LABlab(31.60, 54.27, -80.40)
CIE-LCHlch(31.60, 97.00, 304.02°)
OKLaboklab(43.4% 0.0114 -0.2327)
OKLCHoklch(43.4% 0.233 272.8)
XYZxyz(13.2817, 6.9115, 58.3799)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CCD #C6CD2C
analogous
#2C76CD #332CCD #842CCD
triadic
#332CCD #CD332C #2CCD33
tetradic
#332CCD #CD2C76 #C6CD2C #2CCD84
square
#332CCD #CD2C76 #C6CD2C #2CCD84
split-complementary
#332CCD #CD842C #76CD2C
monochromatic
#1A1668 #26219B #332CCD #605BDC #918DE7

Accessibility & contrast

On white

8.81
#332CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#332CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CCD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CCD#FFFFFF#000000##FFFFFF
##332CCD1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D1
Deuteranopia (green-blind)
#0042CA
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332ccd;
/* rgb */ color: rgb(51, 44, 205);
/* oklch */ color: oklch(43.4% 0.233 272.8);
Tailwind
colors: {
  custom: {
    50: '#8469de',
    500: '#332ccd',
    950: '#000000',
  },
}
SCSS
$custom: #332ccd;
$custom-light: #8469de;
$custom-dark: #000000;
JSON
{
  "hex": "#332ccd",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 242.609,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.23294,
    "h": 272.8
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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