#332FC8#332FC8

#332FC8 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.225 H 272.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#332FC8
RGBrgb(51, 47, 200)
HSLhsl(242, 62%, 48%)
HSVhsv(242, 77%, 78%)
CMYKcmyk(74.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(31.59, 51.18, -77.51)
CIE-LCHlch(31.59, 92.88, 303.44°)
OKLaboklab(43.23% 0.0114 -0.2243)
OKLCHoklch(43.23% 0.225 272.9)
XYZxyz(12.8036, 6.9056, 55.2905)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FC8 #C4C82F
analogous
#2F77C8 #332FC8 #7F2FC8
triadic
#332FC8 #C8332F #2FC833
tetradic
#332FC8 #C82F77 #C4C82F #2FC87F
square
#332FC8 #C82F77 #C4C82F #2FC87F
split-complementary
#332FC8 #C87F2F #77C82F
monochromatic
#1A1865 #262396 #332FC8 #5F5CD9 #8F8DE4

Accessibility & contrast

On white

8.82
#332FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332FC8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FC8#FFFFFF#000000##FFFFFF
##332FC81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0043C5
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332fc8;
/* rgb */ color: rgb(51, 47, 200);
/* oklch */ color: oklch(43.2% 0.225 272.9);
Tailwind
colors: {
  custom: {
    50: '#836ada',
    500: '#332fc8',
    950: '#000000',
  },
}
SCSS
$custom: #332fc8;
$custom-light: #836ada;
$custom-dark: #000000;
JSON
{
  "hex": "#332fc8",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 241.569,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.22458,
    "h": 272.9
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#332FC8
secondary
#CDCF84
accent
#E543E1
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #332FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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