#332FCC#332FCC

#332FCC is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.229 H 272.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#332FCC
RGBrgb(51, 47, 204)
HSLhsl(242, 63%, 49%)
HSVhsv(242, 77%, 80%)
CMYKcmyk(75%, 77%, 0%, 20%)
CIE-LABlab(32.02, 52.44, -79.13)
CIE-LCHlch(32.02, 94.93, 303.53°)
OKLaboklab(43.66% 0.0105 -0.229)
OKLCHoklch(43.66% 0.229 272.6)
XYZxyz(13.2772, 7.0951, 57.7848)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FCC #C8CC2F
analogous
#2F79CC #332FCC #822FCC
triadic
#332FCC #CC332F #2FCC33
tetradic
#332FCC #CC2F79 #C8CC2F #2FCC82
square
#332FCC #CC2F79 #C8CC2F #2FCC82
split-complementary
#332FCC #CC822F #79CC2F
monochromatic
#1A1869 #27249A #332FCC #615EDA #9290E5

Accessibility & contrast

On white

8.68
#332FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332FCC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FCC#FFFFFF#000000##FFFFFF
##332FCC1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D0
Deuteranopia (green-blind)
#0044C9
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #332fcc;
/* rgb */ color: rgb(51, 47, 204);
/* oklch */ color: oklch(43.7% 0.229 272.6);
Tailwind
colors: {
  custom: {
    50: '#846bdd',
    500: '#332fcc',
    950: '#000000',
  },
}
SCSS
$custom: #332fcc;
$custom-light: #846bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#332fcc",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 241.529,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.22924,
    "h": 272.6
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#332FCC
secondary
#CED087
accent
#E642E1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #332FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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