#332AB0#332AB0

#332AB0 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.201 H 275.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#332AB0
RGBrgb(51, 42, 176)
HSLhsl(244, 61%, 43%)
HSVhsv(244, 76%, 69%)
CMYKcmyk(71%, 76.1%, 0%, 31%)
CIE-LABlab(28.10, 46.18, -69.09)
CIE-LCHlch(28.10, 83.11, 303.76°)
OKLaboklab(40.02% 0.0186 -0.1998)
OKLCHoklch(40.02% 0.201 275.3)
XYZxyz(10.0271, 5.4934, 41.5978)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332AB0 #A7B02A
analogous
#2A64B0 #332AB0 #762AB0
triadic
#332AB0 #B0332A #2AB033
tetradic
#332AB0 #B02A64 #A7B02A #2AB076
square
#332AB0 #B02A64 #A7B02A #2AB076
split-complementary
#332AB0 #B0762A #64B02A
monochromatic
#16124D #251E7F #332AB0 #4E45D3 #7D76DE

Accessibility & contrast

On white

10.01
#332AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#332AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332AB0
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332AB0#FFFFFF#000000##FFFFFF
##332AB01.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #332ab0;
/* rgb */ color: rgb(51, 42, 176);
/* oklch */ color: oklch(40.0% 0.201 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e66c9',
    500: '#332ab0',
    950: '#000000',
  },
}
SCSS
$custom: #332ab0;
$custom-light: #7e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#332ab0",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 244.03,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.20065,
    "h": 275.3
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#332AB0
secondary
#C0C670
accent
#E543DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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