#332B92#332B92

#332B92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.162 H 278.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#332B92
RGBrgb(51, 43, 146)
HSLhsl(245, 54%, 37%)
HSVhsv(245, 71%, 57%)
CMYKcmyk(65.1%, 70.5%, 0%, 42.7%)
CIE-LABlab(25.28, 35.73, -55.51)
CIE-LCHlch(25.28, 66.01, 302.77°)
OKLaboklab(37.1% 0.0238 -0.1601)
OKLCHoklch(37.1% 0.162 278.5)
XYZxyz(7.4158, 4.5063, 27.6676)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B92 #8A922B
analogous
#2B5792 #332B92 #672B92
triadic
#332B92 #92332B #2B9233
tetradic
#332B92 #922B57 #8A922B #2B9267
square
#332B92 #922B57 #8A922B #2B9267
split-complementary
#332B92 #92672B #57922B
monochromatic
#120F33 #221D63 #332B92 #4439C1 #6E66D2

Accessibility & contrast

On white

11.04
#332B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#332B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332B92
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B92#FFFFFF#000000##FFFFFF
##332B921.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332b92;
/* rgb */ color: rgb(51, 43, 146);
/* oklch */ color: oklch(37.1% 0.162 278.5);
Tailwind
colors: {
  custom: {
    50: '#7765b3',
    500: '#332b92',
    950: '#000000',
  },
}
SCSS
$custom: #332b92;
$custom-light: #7765b3;
$custom-dark: #000000;
JSON
{
  "hex": "#332b92",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 244.66,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.16189,
    "h": 278.5
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#332B92
secondary
#B1B861
accent
#DE4AD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332B92

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

Preview Lab → · Contrast checker → · Palette generator →

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