#332689#332689

#332689 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.156 H 280.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#332689
RGBrgb(51, 38, 137)
HSLhsl(248, 57%, 34%)
HSVhsv(248, 72%, 54%)
CMYKcmyk(62.8%, 72.3%, 0%, 46.3%)
CIE-LABlab(23.32, 35.73, -53.13)
CIE-LCHlch(23.32, 64.02, 303.92°)
OKLaboklab(35.44% 0.0293 -0.1531)
OKLCHoklch(35.44% 0.156 280.8)
XYZxyz(6.5723, 3.8957, 24.0677)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332689 #7C8926
analogous
#264B89 #332689 #652689
triadic
#332689 #893326 #268933
tetradic
#332689 #89264B #7C8926 #268965
square
#332689 #89264B #7C8926 #268965
split-complementary
#332689 #896526 #4B8926
monochromatic
#0F0B29 #211959 #332689 #4533B9 #6859D1

Accessibility & contrast

On white

11.80
#332689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332689
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332689#FFFFFF#000000##FFFFFF
##3326891.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332689;
/* rgb */ color: rgb(51, 38, 137);
/* oklch */ color: oklch(35.4% 0.156 280.8);
Tailwind
colors: {
  custom: {
    50: '#7662ac',
    500: '#332689',
    950: '#000000',
  },
}
SCSS
$custom: #332689;
$custom-light: #7662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#332689",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 247.879,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.15593,
    "h": 280.8
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#332689
secondary
#A9B655
accent
#E048CC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #332689

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

Preview Lab → · Contrast checker → · Palette generator →

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