#332F92#332F92

#332F92 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.157 H 277.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#332F92
RGBrgb(51, 47, 146)
HSLhsl(242, 51%, 38%)
HSVhsv(242, 68%, 57%)
CMYKcmyk(65.1%, 67.8%, 0%, 42.7%)
CIE-LABlab(26.19, 33.25, -54.01)
CIE-LCHlch(26.19, 63.43, 301.62°)
OKLaboklab(37.76% 0.0206 -0.1557)
OKLCHoklch(37.76% 0.157 277.5)
XYZxyz(7.5684, 4.8115, 27.7184)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F92 #8E922F
analogous
#2F5D92 #332F92 #642F92
triadic
#332F92 #92332F #2F9233
tetradic
#332F92 #922F5D #8E922F #2F9264
square
#332F92 #922F5D #8E922F #2F9264
split-complementary
#332F92 #92642F #5D922F
monochromatic
#131135 #232064 #332F92 #433EC0 #706CD0

Accessibility & contrast

On white

10.70
#332F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#332F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F92
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F92#FFFFFF#000000##FFFFFF
##332F921.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #332f92;
/* rgb */ color: rgb(51, 47, 146);
/* oklch */ color: oklch(37.8% 0.157 277.5);
Tailwind
colors: {
  custom: {
    50: '#7768b3',
    500: '#332f92',
    950: '#000000',
  },
}
SCSS
$custom: #332f92;
$custom-light: #7768b3;
$custom-dark: #000000;
JSON
{
  "hex": "#332f92",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 242.424,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.15711,
    "h": 277.5
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#332F92
secondary
#B4B766
accent
#DB4DD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332F92

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

Preview Lab → · Contrast checker → · Palette generator →

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