#332676#332676

#332676 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.130 H 284.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#332676
RGBrgb(51, 38, 118)
HSLhsl(250, 51%, 31%)
HSVhsv(250, 68%, 46%)
CMYKcmyk(56.8%, 67.8%, 0%, 53.7%)
CIE-LABlab(21.57, 29.41, -43.99)
CIE-LCHlch(21.57, 52.91, 303.76°)
OKLaboklab(33.64% 0.0323 -0.1263)
OKLCHoklch(33.64% 0.13 284.3)
XYZxyz(5.3274, 3.3977, 17.5111)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332676 #697626
analogous
#264176 #332676 #5B2676
triadic
#332676 #763326 #267633
tetradic
#332676 #762641 #697626 #26765B
square
#332676 #762641 #697626 #26765B
split-complementary
#332676 #765B26 #417626
monochromatic
#0B0819 #1F1748 #332676 #4735A4 #6350C7

Accessibility & contrast

On white

12.50
#332676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#332676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332676
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332676#FFFFFF#000000##FFFFFF
##3326761.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#153A4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #332676;
/* rgb */ color: rgb(51, 38, 118);
/* oklch */ color: oklch(33.6% 0.130 284.3);
Tailwind
colors: {
  custom: {
    50: '#72619e',
    500: '#332676',
    950: '#000000',
  },
}
SCSS
$custom: #332676;
$custom-light: #72619e;
$custom-dark: #000000;
JSON
{
  "hex": "#332676",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 249.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.13041,
    "h": 284.3
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#332676
secondary
#9AA84F
accent
#DB4DC4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #332676

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

Preview Lab → · Contrast checker → · Palette generator →

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