#332691#332691

#332691 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.166 H 279.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#332691
RGBrgb(51, 38, 145)
HSLhsl(247, 58%, 36%)
HSVhsv(247, 74%, 57%)
CMYKcmyk(64.8%, 73.8%, 0%, 43.1%)
CIE-LABlab(24.11, 38.36, -56.81)
CIE-LCHlch(24.11, 68.55, 304.03°)
OKLaboklab(36.24% 0.0277 -0.1639)
OKLCHoklch(36.24% 0.166 279.6)
XYZxyz(7.1676, 4.1338, 27.2028)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332691 #849126
analogous
#264E91 #332691 #682691
triadic
#332691 #913326 #269133
tetradic
#332691 #91264E #849126 #269168
square
#332691 #91264E #849126 #269168
split-complementary
#332691 #916826 #4E9126
monochromatic
#110D30 #221961 #332691 #4433C1 #6B5DD5

Accessibility & contrast

On white

11.50
#332691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#332691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332691
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332691#FFFFFF#000000##FFFFFF
##3326911.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #332691;
/* rgb */ color: rgb(51, 38, 145);
/* oklch */ color: oklch(36.2% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#7762b2',
    500: '#332691',
    950: '#000000',
  },
}
SCSS
$custom: #332691;
$custom-light: #7762b2;
$custom-dark: #000000;
JSON
{
  "hex": "#332691",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 247.29,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.16626,
    "h": 279.6
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#332691
secondary
#AEBA59
accent
#E246CF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332691

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

Preview Lab → · Contrast checker → · Palette generator →

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