#332B60#332B60

#332B60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.091 H 287.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#332B60
RGBrgb(51, 43, 96)
HSLhsl(249, 38%, 27%)
HSVhsv(249, 55%, 38%)
CMYKcmyk(46.9%, 55.2%, 0%, 62.4%)
CIE-LABlab(21.12, 18.72, -30.46)
CIE-LCHlch(21.12, 35.75, 301.58°)
OKLaboklab(32.76% 0.0268 -0.0865)
OKLCHoklch(32.76% 0.091 287.2)
XYZxyz(4.3398, 3.2759, 11.4677)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B60 #58602B
analogous
#2B3D60 #332B60 #4E2B60
triadic
#332B60 #60332B #2B6033
tetradic
#332B60 #602B3D #58602B #2B604E
square
#332B60 #602B3D #58602B #2B604E
split-complementary
#332B60 #604E2B #3D602B
monochromatic
#0B0915 #1D1836 #332B60 #493E8A #6253B2

Accessibility & contrast

On white

12.69
#332B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#332B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332B60
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B60#FFFFFF#000000##FFFFFF
##332B601.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#13315F
Tritanopia (blue-blind)
#253641
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #332b60;
/* rgb */ color: rgb(51, 43, 96);
/* oklch */ color: oklch(32.8% 0.091 287.2);
Tailwind
colors: {
  custom: {
    50: '#6e648d',
    500: '#332b60',
    950: '#000000',
  },
}
SCSS
$custom: #332b60;
$custom-light: #6e648d;
$custom-dark: #000000;
JSON
{
  "hex": "#332b60",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 249.057,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.09061,
    "h": 287.2
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#332B60
secondary
#899255
accent
#CE5ABD
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #332B60

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

Preview Lab → · Contrast checker → · Palette generator →

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