#332CB3#332CB3

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

Color values

HEX#332CB3
RGBrgb(51, 44, 179)
HSLhsl(243, 61%, 44%)
HSVhsv(243, 75%, 70%)
CMYKcmyk(71.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.80, 46.06, -69.73)
CIE-LCHlch(28.80, 83.57, 303.45°)
OKLaboklab(40.6% 0.017 -0.2016)
OKLCHoklch(40.6% 0.202 274.8)
XYZxyz(10.3999, 5.7588, 43.2026)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB3 #ACB32C
analogous
#2C68B3 #332CB3 #762CB3
triadic
#332CB3 #B3332C #2CB333
tetradic
#332CB3 #B32C68 #ACB32C #2CB376
square
#332CB3 #B32C68 #ACB32C #2CB376
split-complementary
#332CB3 #B3762C #68B32C
monochromatic
#171451 #252082 #332CB3 #514AD2 #807BDF

Accessibility & contrast

On white

9.76
#332CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332CB3
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB3#FFFFFF#000000##FFFFFF
##332CB31.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332cb3;
/* rgb */ color: rgb(51, 44, 179);
/* oklch */ color: oklch(40.6% 0.202 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e67cb',
    500: '#332cb3',
    950: '#000000',
  },
}
SCSS
$custom: #332cb3;
$custom-light: #7e67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb3",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 243.111,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.20236,
    "h": 274.8
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#332CB3
secondary
#C2C774
accent
#E444DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #332CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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