#332CBD#332CBD

#332CBD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.214 H 274.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#332CBD
RGBrgb(51, 44, 189)
HSLhsl(243, 62%, 46%)
HSVhsv(243, 77%, 74%)
CMYKcmyk(73%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.86, 49.27, -73.91)
CIE-LCHlch(29.86, 88.83, 303.69°)
OKLaboklab(41.67% 0.0149 -0.2138)
OKLCHoklch(41.67% 0.214 274)
XYZxyz(11.4482, 6.1781, 48.7234)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CBD #B6BD2C
analogous
#2C6DBD #332CBD #7C2CBD
triadic
#332CBD #BD332C #2CBD33
tetradic
#332CBD #BD2C6D #B6BD2C #2CBD7C
square
#332CBD #BD2C6D #B6BD2C #2CBD7C
split-complementary
#332CBD #BD7C2C #6DBD2C
monochromatic
#18155A #26208B #332CBD #5650D6 #8682E2

Accessibility & contrast

On white

9.39
#332CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#332CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CBD
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CBD#FFFFFF#000000##FFFFFF
##332CBD1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332cbd;
/* rgb */ color: rgb(51, 44, 189);
/* oklch */ color: oklch(41.7% 0.214 274.0);
Tailwind
colors: {
  custom: {
    50: '#8168d2',
    500: '#332cbd',
    950: '#000000',
  },
}
SCSS
$custom: #332cbd;
$custom-light: #8168d2;
$custom-dark: #000000;
JSON
{
  "hex": "#332cbd",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 242.897,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.21433,
    "h": 274
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#332CBD
secondary
#C7CB7A
accent
#E542DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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