#332FC9#332FC9

#332FC9 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.226 H 272.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#332FC9
RGBrgb(51, 47, 201)
HSLhsl(242, 62%, 49%)
HSVhsv(242, 77%, 79%)
CMYKcmyk(74.6%, 76.6%, 0%, 21.2%)
CIE-LABlab(31.70, 51.49, -77.91)
CIE-LCHlch(31.70, 93.39, 303.46°)
OKLaboklab(43.34% 0.0112 -0.2255)
OKLCHoklch(43.34% 0.226 272.8)
XYZxyz(12.9208, 6.9525, 55.9080)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FC9 #C5C92F
analogous
#2F78C9 #332FC9 #802FC9
triadic
#332FC9 #C9332F #2FC933
tetradic
#332FC9 #C92F78 #C5C92F #2FC980
square
#332FC9 #C92F78 #C5C92F #2FC980
split-complementary
#332FC9 #C9802F #78C92F
monochromatic
#1A1866 #262397 #332FC9 #5F5CD9 #908EE5

Accessibility & contrast

On white

8.78
#332FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#332FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FC9
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FC9#FFFFFF#000000##FFFFFF
##332FC91.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0043C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #332fc9;
/* rgb */ color: rgb(51, 47, 201);
/* oklch */ color: oklch(43.3% 0.226 272.8);
Tailwind
colors: {
  custom: {
    50: '#836adb',
    500: '#332fc9',
    950: '#000000',
  },
}
SCSS
$custom: #332fc9;
$custom-light: #836adb;
$custom-dark: #000000;
JSON
{
  "hex": "#332fc9",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 241.558,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.22575,
    "h": 272.8
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#332FC9
secondary
#CDCF85
accent
#E543E1
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #332FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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