#332195#332195

#332195 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.176 H 279.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#332195
RGBrgb(51, 33, 149)
HSLhsl(249, 64%, 36%)
HSVhsv(249, 78%, 58%)
CMYKcmyk(65.8%, 77.9%, 0%, 41.6%)
CIE-LABlab(23.54, 42.41, -60.22)
CIE-LCHlch(23.54, 73.65, 305.16°)
OKLaboklab(35.96% 0.0301 -0.1738)
OKLCHoklch(35.96% 0.176 279.8)
XYZxyz(7.3322, 3.9609, 28.8061)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332195 #839521
analogous
#214995 #332195 #6D2195
triadic
#332195 #953321 #219533
tetradic
#332195 #952149 #839521 #21956D
square
#332195 #952149 #839521 #21956D
split-complementary
#332195 #956D21 #499521
monochromatic
#110B31 #221663 #332195 #442CC7 #6B57DA

Accessibility & contrast

On white

11.72
#332195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#332195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332195
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332195#FFFFFF#000000##FFFFFF
##3321951.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332195;
/* rgb */ color: rgb(51, 33, 149);
/* oklch */ color: oklch(36.0% 0.176 279.8);
Tailwind
colors: {
  custom: {
    50: '#795fb5',
    500: '#332195',
    950: '#000000',
  },
}
SCSS
$custom: #332195;
$custom-light: #795fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#332195",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 249.31,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35961,
    "c": 0.17642,
    "h": 279.8
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#332195
secondary
#ADBE54
accent
#E741CD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332195

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

Preview Lab → · Contrast checker → · Palette generator →

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