#332F85#332F85

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

Color values

HEX#332F85
RGBrgb(51, 47, 133)
HSLhsl(243, 48%, 35%)
HSVhsv(243, 65%, 52%)
CMYKcmyk(61.7%, 64.7%, 0%, 47.8%)
CIE-LABlab(25.04, 28.74, -47.81)
CIE-LCHlch(25.04, 55.79, 301.01°)
OKLaboklab(36.57% 0.0219 -0.1376)
OKLCHoklch(36.57% 0.139 279)
XYZxyz(6.6140, 4.4298, 22.6923)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F85 #81852F
analogous
#2F5685 #332F85 #5E2F85
triadic
#332F85 #85332F #2F8533
tetradic
#332F85 #852F56 #81852F #2F855E
square
#332F85 #852F56 #81852F #2F855E
split-complementary
#332F85 #855E2F #56852F
monochromatic
#100F2B #221F58 #332F85 #443FB2 #6A66C9

Accessibility & contrast

On white

11.13
#332F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#332F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F85
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F85#FFFFFF#000000##FFFFFF
##332F851.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #332f85;
/* rgb */ color: rgb(51, 47, 133);
/* oklch */ color: oklch(36.6% 0.139 279.0);
Tailwind
colors: {
  custom: {
    50: '#7468a9',
    500: '#332f85',
    950: '#000000',
  },
}
SCSS
$custom: #332f85;
$custom-light: #7468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#332f85",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 242.791,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.13929,
    "h": 279
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#332F85
secondary
#ACB060
accent
#D750D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332F85

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

Preview Lab → · Contrast checker → · Palette generator →

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