#332CD1#332CD1

#332CD1 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.8% C 0.237 H 272.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#332CD1
RGBrgb(51, 44, 209)
HSLhsl(243, 65%, 50%)
HSVhsv(243, 79%, 82%)
CMYKcmyk(75.6%, 78.9%, 0%, 18%)
CIE-LABlab(32.05, 55.50, -81.99)
CIE-LCHlch(32.05, 99.01, 304.09°)
OKLaboklab(43.84% 0.0105 -0.2373)
OKLCHoklch(43.84% 0.238 272.5)
XYZxyz(13.7707, 7.1071, 60.9553)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CD1 #CAD12C
analogous
#2C78D1 #332CD1 #852CD1
triadic
#332CD1 #D1332C #2CD133
tetradic
#332CD1 #D12C78 #CAD12C #2CD185
square
#332CD1 #D12C78 #CAD12C #2CD185
split-complementary
#332CD1 #D1852C #78D12C
monochromatic
#1A176C #27219E #332CD1 #635DDD #9490E8

Accessibility & contrast

On white

8.67
#332CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#332CD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CD1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CD1#FFFFFF#000000##FFFFFF
##332CD11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D6
Deuteranopia (green-blind)
#0043CE
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #332cd1;
/* rgb */ color: rgb(51, 44, 209);
/* oklch */ color: oklch(43.8% 0.237 272.5);
Tailwind
colors: {
  custom: {
    50: '#8569e1',
    500: '#332cd1',
    950: '#000000',
  },
}
SCSS
$custom: #332cd1;
$custom-light: #8569e1;
$custom-dark: #000000;
JSON
{
  "hex": "#332cd1",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 242.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.2375,
    "h": 272.5
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#332CD1
secondary
#CFD287
accent
#E840E1
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #332CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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