#332695#332695

#332695 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.171 H 279.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#332695
RGBrgb(51, 38, 149)
HSLhsl(247, 59%, 37%)
HSVhsv(247, 74%, 58%)
CMYKcmyk(65.8%, 74.5%, 0%, 41.6%)
CIE-LABlab(24.51, 39.66, -58.62)
CIE-LCHlch(24.51, 70.78, 304.08°)
OKLaboklab(36.64% 0.0269 -0.1692)
OKLCHoklch(36.64% 0.171 279)
XYZxyz(7.4814, 4.2594, 28.8558)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332695 #889526
analogous
#265195 #332695 #6B2695
triadic
#332695 #953326 #269533
tetradic
#332695 #952651 #889526 #26956B
square
#332695 #952651 #889526 #26956B
split-complementary
#332695 #956B26 #519526
monochromatic
#120D33 #221A64 #332695 #4432C6 #6D5FD6

Accessibility & contrast

On white

11.34
#332695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#332695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332695
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332695#FFFFFF#000000##FFFFFF
##3326951.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #332695;
/* rgb */ color: rgb(51, 38, 149);
/* oklch */ color: oklch(36.6% 0.171 279.0);
Tailwind
colors: {
  custom: {
    50: '#7862b5',
    500: '#332695',
    950: '#000000',
  },
}
SCSS
$custom: #332695;
$custom-light: #7862b5;
$custom-dark: #000000;
JSON
{
  "hex": "#332695",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 247.027,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.17133,
    "h": 279
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#332695
secondary
#B0BB5B
accent
#E345D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332695

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

Preview Lab → · Contrast checker → · Palette generator →

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