#332BAD#332BAD

#332BAD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.196 H 275.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#332BAD
RGBrgb(51, 43, 173)
HSLhsl(244, 60%, 42%)
HSVhsv(244, 75%, 68%)
CMYKcmyk(70.5%, 75.1%, 0%, 32.2%)
CIE-LABlab(27.97, 44.67, -67.50)
CIE-LCHlch(27.97, 80.94, 303.50°)
OKLaboklab(39.84% 0.0188 -0.1951)
OKLCHoklch(39.84% 0.196 275.5)
XYZxyz(9.7695, 5.4478, 40.0637)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BAD #A5AD2B
analogous
#2B64AD #332BAD #742BAD
triadic
#332BAD #AD332B #2BAD33
tetradic
#332BAD #AD2B64 #A5AD2B #2BAD74
square
#332BAD #AD2B64 #A5AD2B #2BAD74
split-complementary
#332BAD #AD742B #64AD2B
monochromatic
#16134B #251F7C #332BAD #4D45D1 #7C76DD

Accessibility & contrast

On white

10.05
#332BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#332BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BAD
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BAD#FFFFFF#000000##FFFFFF
##332BAD1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #332bad;
/* rgb */ color: rgb(51, 43, 173);
/* oklch */ color: oklch(39.8% 0.196 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d67c7',
    500: '#332bad',
    950: '#000000',
  },
}
SCSS
$custom: #332bad;
$custom-light: #7d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#332bad",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 243.692,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.19604,
    "h": 275.5
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#332BAD
secondary
#BFC46F
accent
#E344DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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