#332FD2#332FD2

#332FD2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.236 H 272.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#332FD2
RGBrgb(51, 47, 210)
HSLhsl(241, 64%, 50%)
HSVhsv(241, 78%, 82%)
CMYKcmyk(75.7%, 77.6%, 0%, 17.6%)
CIE-LABlab(32.68, 54.32, -81.53)
CIE-LCHlch(32.68, 97.97, 303.67°)
OKLaboklab(44.31% 0.0093 -0.236)
OKLCHoklch(44.31% 0.236 272.3)
XYZxyz(14.0107, 7.3885, 61.6480)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FD2 #CED22F
analogous
#2F7DD2 #332FD2 #842FD2
triadic
#332FD2 #D2332F #2FD233
tetradic
#332FD2 #D22F7D #CED22F #2FD284
square
#332FD2 #D22F7D #CED22F #2FD284
split-complementary
#332FD2 #D2842F #7DD22F
monochromatic
#1A186F #2623A1 #332FD2 #6461DD #9694E8

Accessibility & contrast

On white

8.47
#332FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#332FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FD2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FD2#FFFFFF#000000##FFFFFF
##332FD21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D7
Deuteranopia (green-blind)
#0045CF
Tritanopia (blue-blind)
#006180
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #332fd2;
/* rgb */ color: rgb(51, 47, 210);
/* oklch */ color: oklch(44.3% 0.236 272.3);
Tailwind
colors: {
  custom: {
    50: '#856be1',
    500: '#332fd2',
    950: '#000000',
  },
}
SCSS
$custom: #332fd2;
$custom-light: #856be1;
$custom-dark: #000000;
JSON
{
  "hex": "#332fd2",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 241.472,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.23616,
    "h": 272.3
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#332FD2
secondary
#D1D38A
accent
#E740E3
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #332FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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