#332CB8#332CB8

#332CB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.208 H 274.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#332CB8
RGBrgb(51, 44, 184)
HSLhsl(243, 61%, 45%)
HSVhsv(243, 76%, 72%)
CMYKcmyk(72.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(29.32, 47.67, -71.83)
CIE-LCHlch(29.32, 86.21, 303.57°)
OKLaboklab(41.13% 0.016 -0.2078)
OKLCHoklch(41.13% 0.208 274.4)
XYZxyz(10.9148, 5.9648, 45.9142)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB8 #B1B82C
analogous
#2C6BB8 #332CB8 #792CB8
triadic
#332CB8 #B8332C #2CB833
tetradic
#332CB8 #B82C6B #B1B82C #2CB879
square
#332CB8 #B82C6B #B1B82C #2CB879
split-complementary
#332CB8 #B8792C #6BB82C
monochromatic
#181455 #252087 #332CB8 #544DD4 #837EE0

Accessibility & contrast

On white

9.58
#332CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#332CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB8
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB8#FFFFFF#000000##FFFFFF
##332CB81.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #332cb8;
/* rgb */ color: rgb(51, 44, 184);
/* oklch */ color: oklch(41.1% 0.208 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f68cf',
    500: '#332cb8',
    950: '#000000',
  },
}
SCSS
$custom: #332cb8;
$custom-light: #7f68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb8",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 243,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.20838,
    "h": 274.4
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#332CB8
secondary
#C5C977
accent
#E543DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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