#3332CC#3332CC

#3332CC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.1% C 0.227 H 272.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3332CC
RGBrgb(51, 50, 204)
HSLhsl(240, 61%, 50%)
HSVhsv(240, 75%, 80%)
CMYKcmyk(75%, 75.5%, 0%, 20%)
CIE-LABlab(32.58, 50.86, -78.21)
CIE-LCHlch(32.58, 93.30, 303.04°)
OKLaboklab(44.05% 0.0094 -0.2264)
OKLCHoklch(44.05% 0.227 272.4)
XYZxyz(13.4013, 7.3432, 57.8261)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3332CC #CBCC32
analogous
#327ECC #3332CC #8032CC
triadic
#3332CC #CC3332 #32CC33
tetradic
#3332CC #CC327E #CBCC32 #32CC80
square
#3332CC #CC327E #CBCC32 #32CC80
split-complementary
#3332CC #CC8032 #7ECC32
monochromatic
#1A1A6A #27269B #3332CC #6363D9 #9494E5

Accessibility & contrast

On white

8.51
#3332CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3332CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3332CC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3332CC#FFFFFF#000000##FFFFFF
##3332CC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D0
Deuteranopia (green-blind)
#0045C9
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3332cc;
/* rgb */ color: rgb(51, 50, 204);
/* oklch */ color: oklch(44.1% 0.227 272.4);
Tailwind
colors: {
  custom: {
    50: '#836cdd',
    500: '#3332cc',
    950: '#000000',
  },
}
SCSS
$custom: #3332cc;
$custom-light: #836cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3332cc",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 240.39,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44053,
    "c": 0.22656,
    "h": 272.4
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#3332CC
secondary
#CFD08A
accent
#E444E3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3332CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3332CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva