#332CBF#332CBF

#332CBF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.217 H 273.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#332CBF
RGBrgb(51, 44, 191)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 77%, 75%)
CMYKcmyk(73.3%, 77%, 0%, 25.1%)
CIE-LABlab(30.07, 49.90, -74.74)
CIE-LCHlch(30.07, 89.86, 303.73°)
OKLaboklab(41.88% 0.0145 -0.2162)
OKLCHoklch(41.88% 0.217 273.8)
XYZxyz(11.6668, 6.2656, 49.8746)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CBF #B8BF2C
analogous
#2C6EBF #332CBF #7C2CBF
triadic
#332CBF #BF332C #2CBF33
tetradic
#332CBF #BF2C6E #B8BF2C #2CBF7C
square
#332CBF #BF2C6E #B8BF2C #2CBF7C
split-complementary
#332CBF #BF7C2C #6EBF2C
monochromatic
#18155C #26218D #332CBF #5851D7 #8883E2

Accessibility & contrast

On white

9.32
#332CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#332CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CBF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CBF#FFFFFF#000000##FFFFFF
##332CBF1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #332cbf;
/* rgb */ color: rgb(51, 44, 191);
/* oklch */ color: oklch(41.9% 0.217 273.8);
Tailwind
colors: {
  custom: {
    50: '#8168d4',
    500: '#332cbf',
    950: '#000000',
  },
}
SCSS
$custom: #332cbf;
$custom-light: #8168d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332cbf",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 242.857,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41881,
    "c": 0.21669,
    "h": 273.8
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#332CBF
secondary
#C8CC7B
accent
#E642DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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