#332095#332095

#332095 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.177 H 280.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#332095
RGBrgb(51, 32, 149)
HSLhsl(250, 65%, 35%)
HSVhsv(250, 79%, 58%)
CMYKcmyk(65.8%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.36, 42.93, -60.52)
CIE-LCHlch(23.36, 74.20, 305.35°)
OKLaboklab(35.83% 0.0307 -0.1747)
OKLCHoklch(35.83% 0.177 280)
XYZxyz(7.3048, 3.9062, 28.7970)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332095 #829520
analogous
#204795 #332095 #6E2095
triadic
#332095 #953320 #209533
tetradic
#332095 #952047 #829520 #20956E
square
#332095 #952047 #829520 #20956E
split-complementary
#332095 #956E20 #479520
monochromatic
#110A30 #221563 #332095 #442BC7 #6B55DA

Accessibility & contrast

On white

11.79
#332095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#332095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332095
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332095#FFFFFF#000000##FFFFFF
##3320951.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332095;
/* rgb */ color: rgb(51, 32, 149);
/* oklch */ color: oklch(35.8% 0.177 280.0);
Tailwind
colors: {
  custom: {
    50: '#795fb5',
    500: '#332095',
    950: '#000000',
  },
}
SCSS
$custom: #332095;
$custom-light: #795fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#332095",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 249.744,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35832,
    "c": 0.17738,
    "h": 280
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#332095
secondary
#ADBE53
accent
#E840CC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332095

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

Preview Lab → · Contrast checker → · Palette generator →

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