#332C95#332C95

#332C95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.165 H 277.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#332C95
RGBrgb(51, 44, 149)
HSLhsl(244, 54%, 38%)
HSVhsv(244, 70%, 58%)
CMYKcmyk(65.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.79, 36.13, -56.52)
CIE-LCHlch(25.79, 67.08, 302.59°)
OKLaboklab(37.56% 0.0226 -0.1631)
OKLCHoklch(37.56% 0.165 277.9)
XYZxyz(7.6890, 4.6745, 28.9250)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C95 #8E952C
analogous
#2C5995 #332C95 #672C95
triadic
#332C95 #95332C #2C9533
tetradic
#332C95 #952C59 #8E952C #2C9567
square
#332C95 #952C59 #8E952C #2C9567
split-complementary
#332C95 #95672C #59952C
monochromatic
#131037 #231E66 #332C95 #433AC4 #7069D3

Accessibility & contrast

On white

10.85
#332C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#332C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C95
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C95#FFFFFF#000000##FFFFFF
##332C951.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #332c95;
/* rgb */ color: rgb(51, 44, 149);
/* oklch */ color: oklch(37.6% 0.165 277.9);
Tailwind
colors: {
  custom: {
    50: '#7866b5',
    500: '#332c95',
    950: '#000000',
  },
}
SCSS
$custom: #332c95;
$custom-light: #7866b5;
$custom-dark: #000000;
JSON
{
  "hex": "#332c95",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 244,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.16465,
    "h": 277.9
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#332C95
secondary
#B4B964
accent
#DE4AD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332C95

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

Preview Lab → · Contrast checker → · Palette generator →

#332C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva