#332FC5#332FC5

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

Color values

HEX#332FC5
RGBrgb(51, 47, 197)
HSLhsl(242, 61%, 48%)
HSVhsv(242, 76%, 77%)
CMYKcmyk(74.1%, 76.1%, 0%, 22.7%)
CIE-LABlab(31.27, 50.22, -76.28)
CIE-LCHlch(31.27, 91.33, 303.36°)
OKLaboklab(42.91% 0.012 -0.2207)
OKLCHoklch(42.91% 0.221 273.1)
XYZxyz(12.4564, 6.7668, 53.4621)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FC5 #C1C52F
analogous
#2F76C5 #332FC5 #7E2FC5
triadic
#332FC5 #C5332F #2FC533
tetradic
#332FC5 #C52F76 #C1C52F #2FC57E
square
#332FC5 #C52F76 #C1C52F #2FC57E
split-complementary
#332FC5 #C57E2F #76C52F
monochromatic
#191762 #262394 #332FC5 #5D5AD8 #8D8BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332FC5#FFFFFF#000000##FFFFFF
##332FC51.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)
#0051C9
Deuteranopia (green-blind)
#0042C2
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332fc5;
/* rgb */ color: rgb(51, 47, 197);
/* oklch */ color: oklch(42.9% 0.221 273.1);
Tailwind
colors: {
  custom: {
    50: '#826ad8',
    500: '#332fc5',
    950: '#000000',
  },
}
SCSS
$custom: #332fc5;
$custom-light: #826ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#332fc5",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 241.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.22106,
    "h": 273.1
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#332FC5
secondary
#CBCD82
accent
#E543E0
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #332FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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