#332D89#332D89

#332D89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.147 H 279.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#332D89
RGBrgb(51, 45, 137)
HSLhsl(244, 51%, 36%)
HSVhsv(244, 67%, 54%)
CMYKcmyk(62.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.91, 31.41, -50.53)
CIE-LCHlch(24.91, 59.50, 301.87°)
OKLaboklab(36.58% 0.0234 -0.1455)
OKLCHoklch(36.58% 0.147 279.1)
XYZxyz(6.8175, 4.3862, 24.1494)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D89 #83892D
analogous
#2D5589 #332D89 #612D89
triadic
#332D89 #89332D #2D8933
tetradic
#332D89 #892D55 #83892D #2D8961
square
#332D89 #892D55 #83892D #2D8961
split-complementary
#332D89 #89612D #55892D
monochromatic
#110F2D #221E5B #332D89 #443CB7 #6B64CC

Accessibility & contrast

On white

11.19
#332D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#332D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D89
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D89#FFFFFF#000000##FFFFFF
##332D891.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #332d89;
/* rgb */ color: rgb(51, 45, 137);
/* oklch */ color: oklch(36.6% 0.147 279.1);
Tailwind
colors: {
  custom: {
    50: '#7566ac',
    500: '#332d89',
    950: '#000000',
  },
}
SCSS
$custom: #332d89;
$custom-light: #7566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#332d89",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 243.913,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.14741,
    "h": 279.1
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#332D89
secondary
#ADB35F
accent
#DA4ED1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332D89

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

Preview Lab → · Contrast checker → · Palette generator →

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