#332599#332599

#332599 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.177 H 278.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#332599
RGBrgb(51, 37, 153)
HSLhsl(247, 61%, 37%)
HSVhsv(247, 76%, 60%)
CMYKcmyk(66.7%, 75.8%, 0%, 40%)
CIE-LABlab(24.72, 41.52, -60.73)
CIE-LCHlch(24.72, 73.57, 304.36°)
OKLaboklab(36.92% 0.0266 -0.1754)
OKLCHoklch(36.92% 0.177 278.6)
XYZxyz(7.7747, 4.3262, 30.5561)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332599 #8B9925
analogous
#255199 #332599 #6D2599
triadic
#332599 #993325 #259933
tetradic
#332599 #992551 #8B9925 #25996D
square
#332599 #992551 #8B9925 #25996D
split-complementary
#332599 #996D25 #519925
monochromatic
#120D36 #231968 #332599 #4331CA #6E60D9

Accessibility & contrast

On white

11.26
#332599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#332599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332599
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332599#FFFFFF#000000##FFFFFF
##3325991.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #332599;
/* rgb */ color: rgb(51, 37, 153);
/* oklch */ color: oklch(36.9% 0.177 278.6);
Tailwind
colors: {
  custom: {
    50: '#7962b8',
    500: '#332599',
    950: '#000000',
  },
}
SCSS
$custom: #332599;
$custom-light: #7962b8;
$custom-dark: #000000;
JSON
{
  "hex": "#332599",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 247.241,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.17738,
    "h": 278.6
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#332599
secondary
#B2BE5C
accent
#E444D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #332599

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

Preview Lab → · Contrast checker → · Palette generator →

#332599 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva