#332D8A#332D8A

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

Color values

HEX#332D8A
RGBrgb(51, 45, 138)
HSLhsl(244, 51%, 36%)
HSVhsv(244, 67%, 54%)
CMYKcmyk(63%, 67.4%, 0%, 45.9%)
CIE-LABlab(25.00, 31.76, -51.01)
CIE-LCHlch(25.00, 60.09, 301.91°)
OKLaboklab(36.67% 0.0233 -0.1469)
OKLCHoklch(36.67% 0.149 279)
XYZxyz(6.8896, 4.4150, 24.5290)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D8A #848A2D
analogous
#2D558A #332D8A #612D8A
triadic
#332D8A #8A332D #2D8A33
tetradic
#332D8A #8A2D55 #848A2D #2D8A61
square
#332D8A #8A2D55 #848A2D #2D8A61
split-complementary
#332D8A #8A612D #558A2D
monochromatic
#110F2E #221E5C #332D8A #443CB8 #6B65CD

Accessibility & contrast

On white

11.15
#332D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332D8A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D8A#FFFFFF#000000##FFFFFF
##332D8A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332d8a;
/* rgb */ color: rgb(51, 45, 138);
/* oklch */ color: oklch(36.7% 0.149 279.0);
Tailwind
colors: {
  custom: {
    50: '#7566ad',
    500: '#332d8a',
    950: '#000000',
  },
}
SCSS
$custom: #332d8a;
$custom-light: #7566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#332d8a",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 243.871,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36674,
    "c": 0.14877,
    "h": 279
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#332D8A
secondary
#AEB360
accent
#DA4DD1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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