#332883#332883

#332883 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.146 H 281.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#332883
RGBrgb(51, 40, 131)
HSLhsl(247, 53%, 34%)
HSVhsv(247, 69%, 51%)
CMYKcmyk(61.1%, 69.5%, 0%, 48.6%)
CIE-LABlab(23.20, 32.51, -49.57)
CIE-LCHlch(23.20, 59.28, 303.26°)
OKLaboklab(35.18% 0.0286 -0.1427)
OKLCHoklch(35.18% 0.146 281.3)
XYZxyz(6.2195, 3.8597, 21.8856)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332883 #788328
analogous
#284A83 #332883 #602883
triadic
#332883 #833328 #288333
tetradic
#332883 #83284A #788328 #288360
square
#332883 #83284A #788328 #288360
split-complementary
#332883 #836028 #4A8328
monochromatic
#0E0B25 #211A54 #332883 #4536B2 #6759CC

Accessibility & contrast

On white

11.85
#332883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#332883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332883
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332883#FFFFFF#000000##FFFFFF
##3328831.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #332883;
/* rgb */ color: rgb(51, 40, 131);
/* oklch */ color: oklch(35.2% 0.146 281.3);
Tailwind
colors: {
  custom: {
    50: '#7463a8',
    500: '#332883',
    950: '#000000',
  },
}
SCSS
$custom: #332883;
$custom-light: #7463a8;
$custom-dark: #000000;
JSON
{
  "hex": "#332883",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 247.253,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35178,
    "c": 0.14556,
    "h": 281.3
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#332883
secondary
#A6B155
accent
#DD4BCB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #332883

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

Preview Lab → · Contrast checker → · Palette generator →

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