#332DC0#332DC0

#332DC0 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.217 H 273.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#332DC0
RGBrgb(51, 45, 192)
HSLhsl(242, 62%, 46%)
HSVhsv(242, 77%, 75%)
CMYKcmyk(73.4%, 76.6%, 0%, 24.7%)
CIE-LABlab(30.36, 49.69, -74.84)
CIE-LCHlch(30.36, 89.84, 303.58°)
OKLaboklab(42.12% 0.0138 -0.2165)
OKLCHoklch(42.12% 0.217 273.7)
XYZxyz(11.8149, 6.3851, 50.4687)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DC0 #BAC02D
analogous
#2D71C0 #332DC0 #7D2DC0
triadic
#332DC0 #C0332D #2DC033
tetradic
#332DC0 #C02D71 #BAC02D #2DC07D
square
#332DC0 #C02D71 #BAC02D #2DC07D
split-complementary
#332DC0 #C07D2D #71C02D
monochromatic
#19165D #26218E #332DC0 #5953D7 #8985E2

Accessibility & contrast

On white

9.22
#332DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#332DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DC0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DC0#FFFFFF#000000##FFFFFF
##332DC01.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332dc0;
/* rgb */ color: rgb(51, 45, 192);
/* oklch */ color: oklch(42.1% 0.217 273.7);
Tailwind
colors: {
  custom: {
    50: '#8169d4',
    500: '#332dc0',
    950: '#000000',
  },
}
SCSS
$custom: #332dc0;
$custom-light: #8169d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332dc0",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 242.449,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.21697,
    "h": 273.7
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#332DC0
secondary
#C9CC7D
accent
#E543DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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