#332EB8#332EB8

#332EB8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.206 H 274.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#332EB8
RGBrgb(51, 46, 184)
HSLhsl(242, 60%, 45%)
HSVhsv(242, 75%, 72%)
CMYKcmyk(72.3%, 75%, 0%, 27.8%)
CIE-LABlab(29.71, 46.58, -71.20)
CIE-LCHlch(29.71, 85.09, 303.20°)
OKLaboklab(41.4% 0.015 -0.2059)
OKLCHoklch(41.4% 0.207 274.2)
XYZxyz(10.9911, 6.1174, 45.9396)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EB8 #B3B82E
analogous
#2E6EB8 #332EB8 #782EB8
triadic
#332EB8 #B8332E #2EB833
tetradic
#332EB8 #B82E6E #B3B82E #2EB878
square
#332EB8 #B82E6E #B3B82E #2EB878
split-complementary
#332EB8 #B8782E #6EB82E
monochromatic
#181656 #252287 #332EB8 #5550D3 #8481DF

Accessibility & contrast

On white

9.44
#332EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#332EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332EB8
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EB8#FFFFFF#000000##FFFFFF
##332EB81.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332eb8;
/* rgb */ color: rgb(51, 46, 184);
/* oklch */ color: oklch(41.4% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f69cf',
    500: '#332eb8',
    950: '#000000',
  },
}
SCSS
$custom: #332eb8;
$custom-light: #7f69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#332eb8",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 242.174,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.2065,
    "h": 274.2
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#332EB8
secondary
#C6C879
accent
#E345DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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