#332BB7#332BB7

#332BB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.208 H 274.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#332BB7
RGBrgb(51, 43, 183)
HSLhsl(243, 62%, 44%)
HSVhsv(243, 77%, 72%)
CMYKcmyk(72.1%, 76.5%, 0%, 28.2%)
CIE-LABlab(29.03, 47.89, -71.73)
CIE-LCHlch(29.03, 86.24, 303.73°)
OKLaboklab(40.89% 0.0166 -0.2074)
OKLCHoklch(40.89% 0.208 274.6)
XYZxyz(10.7735, 5.8494, 45.3518)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB7 #AFB72B
analogous
#2B69B7 #332BB7 #792BB7
triadic
#332BB7 #B7332B #2BB733
tetradic
#332BB7 #B72B69 #AFB72B #2BB779
square
#332BB7 #B72B69 #AFB72B #2BB779
split-complementary
#332BB7 #B7792B #69B72B
monochromatic
#171454 #251F85 #332BB7 #524BD5 #827CE0

Accessibility & contrast

On white

9.68
#332BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#332BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BB7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB7#FFFFFF#000000##FFFFFF
##332BB71.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332bb7;
/* rgb */ color: rgb(51, 43, 183);
/* oklch */ color: oklch(40.9% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f67ce',
    500: '#332bb7',
    950: '#000000',
  },
}
SCSS
$custom: #332bb7;
$custom-light: #7f67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb7",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 243.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.20811,
    "h": 274.6
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#332BB7
secondary
#C4C975
accent
#E543DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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