#332BC0#332BC0

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

Color values

HEX#332BC0
RGBrgb(51, 43, 192)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 78%, 75%)
CMYKcmyk(73.4%, 77.6%, 0%, 24.7%)
CIE-LABlab(30.00, 50.73, -75.44)
CIE-LCHlch(30.00, 90.92, 303.92°)
OKLaboklab(41.86% 0.0146 -0.2182)
OKLCHoklch(41.86% 0.219 273.8)
XYZxyz(11.7404, 6.2361, 50.4439)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BC0 #B8C02B
analogous
#2B6EC0 #332BC0 #7D2BC0
triadic
#332BC0 #C0332B #2BC033
tetradic
#332BC0 #C02B6E #B8C02B #2BC07D
square
#332BC0 #C02B6E #B8C02B #2BC07D
split-complementary
#332BC0 #C07D2B #6EC02B
monochromatic
#18155C #26208E #332BC0 #5850D8 #8882E3

Accessibility & contrast

On white

9.34
#332BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332BC0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BC0#FFFFFF#000000##FFFFFF
##332BC01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #332bc0;
/* rgb */ color: rgb(51, 43, 192);
/* oklch */ color: oklch(41.9% 0.219 273.8);
Tailwind
colors: {
  custom: {
    50: '#8168d4',
    500: '#332bc0',
    950: '#000000',
  },
}
SCSS
$custom: #332bc0;
$custom-light: #8168d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332bc0",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 243.221,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.21874,
    "h": 273.8
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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