#332BD2#332BD2

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

Color values

HEX#332BD2
RGBrgb(51, 43, 210)
HSLhsl(243, 66%, 50%)
HSVhsv(243, 80%, 82%)
CMYKcmyk(75.7%, 79.5%, 0%, 17.6%)
CIE-LABlab(32.00, 56.29, -82.66)
CIE-LCHlch(32.00, 100.00, 304.25°)
OKLaboklab(43.84% 0.0106 -0.2392)
OKLCHoklch(43.84% 0.239 272.5)
XYZxyz(13.8581, 7.0832, 61.5971)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BD2 #CAD22B
analogous
#2B77D2 #332BD2 #862BD2
triadic
#332BD2 #D2332B #2BD233
tetradic
#332BD2 #D22B77 #CAD22B #2BD286
square
#332BD2 #D22B77 #CAD22B #2BD286
split-complementary
#332BD2 #D2862B #77D22B
monochromatic
#1A166C #27219F #332BD2 #635CDE #948FE8

Accessibility & contrast

On white

8.69
#332BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332BD2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BD2#FFFFFF#000000##FFFFFF
##332BD21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332bd2;
/* rgb */ color: rgb(51, 43, 210);
/* oklch */ color: oklch(43.8% 0.239 272.5);
Tailwind
colors: {
  custom: {
    50: '#8569e1',
    500: '#332bd2',
    950: '#000000',
  },
}
SCSS
$custom: #332bd2;
$custom-light: #8569e1;
$custom-dark: #000000;
JSON
{
  "hex": "#332bd2",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 242.874,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.23942,
    "h": 272.5
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#332BD2
secondary
#CFD386
accent
#E93FE1
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #332BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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