#332FB6#332FB6

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

Color values

HEX#332FB6
RGBrgb(51, 47, 182)
HSLhsl(242, 59%, 45%)
HSVhsv(242, 74%, 71%)
CMYKcmyk(72%, 74.2%, 0%, 28.6%)
CIE-LABlab(29.70, 45.38, -70.03)
CIE-LCHlch(29.70, 83.45, 302.94°)
OKLaboklab(41.33% 0.0149 -0.2025)
OKLCHoklch(41.33% 0.203 274.2)
XYZxyz(10.8224, 6.1132, 44.8565)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FB6 #B2B62F
analogous
#2F6EB6 #332FB6 #772FB6
triadic
#332FB6 #B6332F #2FB633
tetradic
#332FB6 #B62F6E #B2B62F #2FB677
square
#332FB6 #B62F6E #B2B62F #2FB677
split-complementary
#332FB6 #B6772F #6EB62F
monochromatic
#181655 #252285 #332FB6 #5450D2 #8481DE

Accessibility & contrast

On white

9.45
#332FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332FB6
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FB6#FFFFFF#000000##FFFFFF
##332FB61.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332fb6;
/* rgb */ color: rgb(51, 47, 182);
/* oklch */ color: oklch(41.3% 0.203 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f69cd',
    500: '#332fb6',
    950: '#000000',
  },
}
SCSS
$custom: #332fb6;
$custom-light: #7f69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#332fb6",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 241.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.2031,
    "h": 274.2
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#332FB6
secondary
#C5C779
accent
#E246DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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