#332776#332776

#332776 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.129 H 284.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#332776
RGBrgb(51, 39, 118)
HSLhsl(249, 50%, 31%)
HSVhsv(249, 67%, 46%)
CMYKcmyk(56.8%, 66.9%, 0%, 53.7%)
CIE-LABlab(21.81, 28.77, -43.60)
CIE-LCHlch(21.81, 52.24, 303.42°)
OKLaboklab(33.81% 0.0313 -0.1252)
OKLCHoklch(33.81% 0.129 284)
XYZxyz(5.3598, 3.4625, 17.5219)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332776 #6A7627
analogous
#274276 #332776 #5A2776
triadic
#332776 #763327 #277633
tetradic
#332776 #762742 #6A7627 #27765A
square
#332776 #762742 #6A7627 #27765A
split-complementary
#332776 #765A27 #427627
monochromatic
#0B091A #1F1848 #332776 #4736A4 #6352C6

Accessibility & contrast

On white

12.41
#332776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#332776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332776
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332776#FFFFFF#000000##FFFFFF
##3327761.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#153B4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #332776;
/* rgb */ color: rgb(51, 39, 118);
/* oklch */ color: oklch(33.8% 0.129 284.0);
Tailwind
colors: {
  custom: {
    50: '#72629e',
    500: '#332776',
    950: '#000000',
  },
}
SCSS
$custom: #332776;
$custom-light: #72629e;
$custom-dark: #000000;
JSON
{
  "hex": "#332776",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 249.114,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3381,
    "c": 0.12906,
    "h": 284
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#332776
secondary
#9BA851
accent
#DA4EC5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #332776

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

Preview Lab → · Contrast checker → · Palette generator →

#332776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva