#332D83#332D83

#332D83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.139 H 279.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#332D83
RGBrgb(51, 45, 131)
HSLhsl(244, 49%, 35%)
HSVhsv(244, 66%, 51%)
CMYKcmyk(61.1%, 65.6%, 0%, 48.6%)
CIE-LABlab(24.38, 29.35, -47.64)
CIE-LCHlch(24.38, 55.95, 301.63°)
OKLaboklab(36.03% 0.024 -0.137)
OKLCHoklch(36.03% 0.139 279.9)
XYZxyz(6.3991, 4.2188, 21.9454)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D83 #7D832D
analogous
#2D5283 #332D83 #5E2D83
triadic
#332D83 #83332D #2D8333
tetradic
#332D83 #832D52 #7D832D #2D835E
square
#332D83 #832D52 #7D832D #2D835E
split-complementary
#332D83 #835E2D #52832D
monochromatic
#100E28 #211D55 #332D83 #453DB1 #6962C9

Accessibility & contrast

On white

11.39
#332D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#332D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D83
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D83#FFFFFF#000000##FFFFFF
##332D831.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #332d83;
/* rgb */ color: rgb(51, 45, 131);
/* oklch */ color: oklch(36.0% 0.139 279.9);
Tailwind
colors: {
  custom: {
    50: '#7466a8',
    500: '#332d83',
    950: '#000000',
  },
}
SCSS
$custom: #332d83;
$custom-light: #7466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#332d83",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 244.186,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.13913,
    "h": 279.9
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#332D83
secondary
#AAAF5C
accent
#D84FCF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332D83

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

Preview Lab → · Contrast checker → · Palette generator →

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