#332ACD#332ACD

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

Color values

HEX#332ACD
RGBrgb(51, 42, 205)
HSLhsl(243, 66%, 48%)
HSVhsv(243, 80%, 80%)
CMYKcmyk(75.1%, 79.5%, 0%, 19.6%)
CIE-LABlab(31.27, 55.25, -80.96)
CIE-LCHlch(31.27, 98.01, 304.31°)
OKLaboklab(43.17% 0.0121 -0.2342)
OKLCHoklch(43.17% 0.235 272.9)
XYZxyz(13.2090, 6.7661, 58.3556)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332ACD #C4CD2A
analogous
#2A72CD #332ACD #842ACD
triadic
#332ACD #CD332A #2ACD33
tetradic
#332ACD #CD2A72 #C4CD2A #2ACD84
square
#332ACD #CD2A72 #C4CD2A #2ACD84
split-complementary
#332ACD #CD842A #72CD2A
monochromatic
#1A1567 #26209A #332ACD #5F58DD #8F8AE7

Accessibility & contrast

On white

8.92
#332ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#332ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332ACD
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332ACD#FFFFFF#000000##FFFFFF
##332ACD1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332acd;
/* rgb */ color: rgb(51, 42, 205);
/* oklch */ color: oklch(43.2% 0.235 272.9);
Tailwind
colors: {
  custom: {
    50: '#8468de',
    500: '#332acd',
    950: '#000000',
  },
}
SCSS
$custom: #332acd;
$custom-light: #8468de;
$custom-dark: #000000;
JSON
{
  "hex": "#332acd",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 205
  },
  "hsl": {
    "h": 243.313,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.23456,
    "h": 272.9
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#332ACD
secondary
#CDD182
accent
#E93FE0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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