#332BB6#332BB6

#332BB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.207 H 274.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#332BB6
RGBrgb(51, 43, 182)
HSLhsl(243, 62%, 44%)
HSVhsv(243, 76%, 71%)
CMYKcmyk(72%, 76.4%, 0%, 28.6%)
CIE-LABlab(28.92, 47.57, -71.31)
CIE-LCHlch(28.92, 85.72, 303.71°)
OKLaboklab(40.79% 0.0168 -0.2062)
OKLCHoklch(40.79% 0.207 274.7)
XYZxyz(10.6698, 5.8079, 44.8056)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB6 #AEB62B
analogous
#2B69B6 #332BB6 #792BB6
triadic
#332BB6 #B6332B #2BB633
tetradic
#332BB6 #B62B69 #AEB62B #2BB679
square
#332BB6 #B62B69 #AEB62B #2BB679
split-complementary
#332BB6 #B6792B #69B62B
monochromatic
#171453 #251F84 #332BB6 #524AD4 #817BE0

Accessibility & contrast

On white

9.71
#332BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#332BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BB6
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB6#FFFFFF#000000##FFFFFF
##332BB61.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332bb6;
/* rgb */ color: rgb(51, 43, 182);
/* oklch */ color: oklch(40.8% 0.207 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f67cd',
    500: '#332bb6',
    950: '#000000',
  },
}
SCSS
$custom: #332bb6;
$custom-light: #7f67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb6",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 243.453,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.20692,
    "h": 274.7
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#332BB6
secondary
#C3C875
accent
#E543DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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