#332CB7#332CB7

#332CB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.207 H 274.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#332CB7
RGBrgb(51, 44, 183)
HSLhsl(243, 61%, 45%)
HSVhsv(243, 76%, 72%)
CMYKcmyk(72.1%, 76%, 0%, 28.2%)
CIE-LABlab(29.22, 47.35, -71.42)
CIE-LCHlch(29.22, 85.69, 303.55°)
OKLaboklab(41.03% 0.0162 -0.2065)
OKLCHoklch(41.03% 0.207 274.5)
XYZxyz(10.8103, 5.9230, 45.3641)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB7 #B0B72C
analogous
#2C6AB7 #332CB7 #792CB7
triadic
#332CB7 #B7332C #2CB733
tetradic
#332CB7 #B72C6A #B0B72C #2CB779
square
#332CB7 #B72C6A #B0B72C #2CB779
split-complementary
#332CB7 #B7792C #6AB72C
monochromatic
#181454 #252086 #332CB7 #534CD4 #827EE0

Accessibility & contrast

On white

9.61
#332CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#332CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB7#FFFFFF#000000##FFFFFF
##332CB71.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332cb7;
/* rgb */ color: rgb(51, 44, 183);
/* oklch */ color: oklch(41.0% 0.207 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f68ce',
    500: '#332cb7',
    950: '#000000',
  },
}
SCSS
$custom: #332cb7;
$custom-light: #7f68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb7",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 243.022,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.20718,
    "h": 274.5
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#332CB7
secondary
#C4C876
accent
#E443DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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