#332690#332690

#332690 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.165 H 279.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#332690
RGBrgb(51, 38, 144)
HSLhsl(247, 58%, 36%)
HSVhsv(247, 74%, 56%)
CMYKcmyk(64.6%, 73.6%, 0%, 43.5%)
CIE-LABlab(24.01, 38.03, -56.36)
CIE-LCHlch(24.01, 67.99, 304.01°)
OKLaboklab(36.14% 0.0279 -0.1626)
OKLCHoklch(36.14% 0.165 279.7)
XYZxyz(7.0908, 4.1031, 26.7985)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332690 #839026
analogous
#264E90 #332690 #682690
triadic
#332690 #903326 #269033
tetradic
#332690 #90264E #839026 #269068
square
#332690 #90264E #839026 #269068
split-complementary
#332690 #906826 #4E9026
monochromatic
#110C2F #221960 #332690 #4433C0 #6B5CD4

Accessibility & contrast

On white

11.53
#332690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#332690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332690
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332690#FFFFFF#000000##FFFFFF
##3326901.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #332690;
/* rgb */ color: rgb(51, 38, 144);
/* oklch */ color: oklch(36.1% 0.165 279.7);
Tailwind
colors: {
  custom: {
    50: '#7762b2',
    500: '#332690',
    950: '#000000',
  },
}
SCSS
$custom: #332690;
$custom-light: #7762b2;
$custom-dark: #000000;
JSON
{
  "hex": "#332690",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 247.358,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.16498,
    "h": 279.7
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#332690
secondary
#ADB959
accent
#E146CE
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332690

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

Preview Lab → · Contrast checker → · Palette generator →

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