#332BB5#332BB5

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

Color values

HEX#332BB5
RGBrgb(51, 43, 181)
HSLhsl(243, 62%, 44%)
HSVhsv(243, 76%, 71%)
CMYKcmyk(71.8%, 76.2%, 0%, 29%)
CIE-LABlab(28.82, 47.25, -70.89)
CIE-LCHlch(28.82, 85.19, 303.68°)
OKLaboklab(40.68% 0.0171 -0.205)
OKLCHoklch(40.68% 0.206 274.8)
XYZxyz(10.5668, 5.7667, 44.2633)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB5 #ADB52B
analogous
#2B68B5 #332BB5 #782BB5
triadic
#332BB5 #B5332B #2BB533
tetradic
#332BB5 #B52B68 #ADB52B #2BB578
square
#332BB5 #B52B68 #ADB52B #2BB578
split-complementary
#332BB5 #B5782B #68B52B
monochromatic
#171452 #251F84 #332BB5 #5149D4 #817BE0

Accessibility & contrast

On white

9.75
#332BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332BB5
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB5#FFFFFF#000000##FFFFFF
##332BB51.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332bb5;
/* rgb */ color: rgb(51, 43, 181);
/* oklch */ color: oklch(40.7% 0.206 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f67cc',
    500: '#332bb5',
    950: '#000000',
  },
}
SCSS
$custom: #332bb5;
$custom-light: #7f67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb5",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 243.478,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.20572,
    "h": 274.8
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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