#332390#332390

#332390 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.168 H 280.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#332390
RGBrgb(51, 35, 144)
HSLhsl(249, 61%, 35%)
HSVhsv(249, 76%, 56%)
CMYKcmyk(64.6%, 75.7%, 0%, 43.5%)
CIE-LABlab(23.40, 39.73, -57.36)
CIE-LCHlch(23.40, 69.77, 304.71°)
OKLaboklab(35.71% 0.0301 -0.1655)
OKLCHoklch(35.71% 0.168 280.3)
XYZxyz(6.9987, 3.9190, 26.7678)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332390 #809023
analogous
#234A90 #332390 #692390
triadic
#332390 #903323 #239033
tetradic
#332390 #90234A #809023 #239069
square
#332390 #90234A #809023 #239069
split-complementary
#332390 #906923 #4A9023
monochromatic
#100B2E #22175F #332390 #442FC1 #6A57D6

Accessibility & contrast

On white

11.77
#332390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332390
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332390#FFFFFF#000000##FFFFFF
##3323901.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332390;
/* rgb */ color: rgb(51, 35, 144);
/* oklch */ color: oklch(35.7% 0.168 280.3);
Tailwind
colors: {
  custom: {
    50: '#7760b2',
    500: '#332390',
    950: '#000000',
  },
}
SCSS
$custom: #332390;
$custom-light: #7760b2;
$custom-dark: #000000;
JSON
{
  "hex": "#332390",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 248.807,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35706,
    "c": 0.16821,
    "h": 280.3
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#332390
secondary
#ABBA54
accent
#E444CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332390

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

Preview Lab → · Contrast checker → · Palette generator →

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