#332BCE#332BCE

#332BCE is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.4% C 0.235 H 272.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#332BCE
RGBrgb(51, 43, 206)
HSLhsl(243, 65%, 49%)
HSVhsv(243, 79%, 81%)
CMYKcmyk(75.2%, 79.1%, 0%, 19.2%)
CIE-LABlab(31.55, 55.07, -81.08)
CIE-LCHlch(31.55, 98.01, 304.18°)
OKLaboklab(43.4% 0.0115 -0.2346)
OKLCHoklch(43.4% 0.235 272.8)
XYZxyz(13.3660, 6.8864, 59.0053)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BCE #C6CE2B
analogous
#2B75CE #332BCE #852BCE
triadic
#332BCE #CE332B #2BCE33
tetradic
#332BCE #CE2B75 #C6CE2B #2BCE85
square
#332BCE #CE2B75 #C6CE2B #2BCE85
split-complementary
#332BCE #CE852B #75CE2B
monochromatic
#1A1669 #26209B #332BCE #605ADC #918CE7

Accessibility & contrast

On white

8.83
#332BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#332BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BCE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BCE#FFFFFF#000000##FFFFFF
##332BCE1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D3
Deuteranopia (green-blind)
#0042CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332bce;
/* rgb */ color: rgb(51, 43, 206);
/* oklch */ color: oklch(43.4% 0.235 272.8);
Tailwind
colors: {
  custom: {
    50: '#8568de',
    500: '#332bce',
    950: '#000000',
  },
}
SCSS
$custom: #332bce;
$custom-light: #8568de;
$custom-dark: #000000;
JSON
{
  "hex": "#332bce",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 242.945,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.23489,
    "h": 272.8
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#332BCE
secondary
#CDD184
accent
#E83FE0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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