#332680#332680

#332680 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.144 H 282.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#332680
RGBrgb(51, 38, 128)
HSLhsl(249, 54%, 33%)
HSVhsv(249, 70%, 50%)
CMYKcmyk(60.2%, 70.3%, 0%, 49.8%)
CIE-LABlab(22.47, 32.74, -48.87)
CIE-LCHlch(22.47, 58.82, 303.82°)
OKLaboklab(34.57% 0.0309 -0.1407)
OKLCHoklch(34.57% 0.144 282.4)
XYZxyz(5.9534, 3.6482, 20.8083)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332680 #738026
analogous
#264680 #332680 #602680
triadic
#332680 #803326 #268033
tetradic
#332680 #802646 #738026 #268060
square
#332680 #802646 #738026 #268060
split-complementary
#332680 #806026 #468026
monochromatic
#0D0A22 #201851 #332680 #4634AF #6554CC

Accessibility & contrast

On white

12.14
#332680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#332680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332680
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332680#FFFFFF#000000##FFFFFF
##3326801.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#053D4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #332680;
/* rgb */ color: rgb(51, 38, 128);
/* oklch */ color: oklch(34.6% 0.144 282.4);
Tailwind
colors: {
  custom: {
    50: '#7461a6',
    500: '#332680',
    950: '#000000',
  },
}
SCSS
$custom: #332680;
$custom-light: #7461a6;
$custom-dark: #000000;
JSON
{
  "hex": "#332680",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 248.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.14403,
    "h": 282.4
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#332680
secondary
#A3B151
accent
#DE4AC8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #332680

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

Preview Lab → · Contrast checker → · Palette generator →

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