#332BB4#332BB4

#332BB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.205 H 274.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#332BB4
RGBrgb(51, 43, 180)
HSLhsl(244, 61%, 44%)
HSVhsv(244, 76%, 71%)
CMYKcmyk(71.7%, 76.1%, 0%, 29.4%)
CIE-LABlab(28.71, 46.93, -70.47)
CIE-LCHlch(28.71, 84.66, 303.66°)
OKLaboklab(40.57% 0.0173 -0.2038)
OKLCHoklch(40.57% 0.205 274.8)
XYZxyz(10.4646, 5.7258, 43.7249)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB4 #ACB42B
analogous
#2B67B4 #332BB4 #772BB4
triadic
#332BB4 #B4332B #2BB433
tetradic
#332BB4 #B42B67 #ACB42B #2BB477
square
#332BB4 #B42B67 #ACB42B #2BB477
split-complementary
#332BB4 #B4772B #67B42B
monochromatic
#171351 #251F83 #332BB4 #5149D3 #807ADF

Accessibility & contrast

On white

9.79
#332BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#332BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BB4
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB4#FFFFFF#000000##FFFFFF
##332BB41.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332bb4;
/* rgb */ color: rgb(51, 43, 180);
/* oklch */ color: oklch(40.6% 0.205 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f67cc',
    500: '#332bb4',
    950: '#000000',
  },
}
SCSS
$custom: #332bb4;
$custom-light: #7f67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb4",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 243.504,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.20452,
    "h": 274.8
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#332BB4
secondary
#C2C773
accent
#E543DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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