#332BB3#332BB3

#332BB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.203 H 274.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#332BB3
RGBrgb(51, 43, 179)
HSLhsl(244, 61%, 44%)
HSVhsv(244, 76%, 70%)
CMYKcmyk(71.5%, 76%, 0%, 29.8%)
CIE-LABlab(28.60, 46.61, -70.05)
CIE-LCHlch(28.60, 84.14, 303.64°)
OKLaboklab(40.47% 0.0175 -0.2026)
OKLCHoklch(40.47% 0.203 274.9)
XYZxyz(10.3631, 5.6852, 43.1903)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB3 #ABB32B
analogous
#2B67B3 #332BB3 #772BB3
triadic
#332BB3 #B3332B #2BB333
tetradic
#332BB3 #B32B67 #ABB32B #2BB377
square
#332BB3 #B32B67 #ABB32B #2BB377
split-complementary
#332BB3 #B3772B #67B32B
monochromatic
#171350 #251F82 #332BB3 #5048D3 #7F79DF

Accessibility & contrast

On white

9.83
#332BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#332BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BB3
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB3#FFFFFF#000000##FFFFFF
##332BB31.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332bb3;
/* rgb */ color: rgb(51, 43, 179);
/* oklch */ color: oklch(40.5% 0.203 274.9);
Tailwind
colors: {
  custom: {
    50: '#7e67cb',
    500: '#332bb3',
    950: '#000000',
  },
}
SCSS
$custom: #332bb3;
$custom-light: #7e67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb3",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 243.529,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.20331,
    "h": 274.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#332BB3
secondary
#C2C773
accent
#E443DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #332BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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