#3328CC#3328CC

#3328CC is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.235 H 273.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3328CC
RGBrgb(51, 40, 204)
HSLhsl(244, 67%, 48%)
HSVhsv(244, 80%, 80%)
CMYKcmyk(75%, 80.4%, 0%, 20%)
CIE-LABlab(30.83, 55.89, -81.10)
CIE-LCHlch(30.83, 98.50, 304.57°)
OKLaboklab(42.83% 0.0129 -0.2346)
OKLCHoklch(42.83% 0.235 273.2)
XYZxyz(13.0195, 6.5797, 57.6989)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328CC #C1CC28
analogous
#286FCC #3328CC #8528CC
triadic
#3328CC #CC3328 #28CC33
tetradic
#3328CC #CC286F #C1CC28 #28CC85
square
#3328CC #CC286F #C1CC28 #28CC85
split-complementary
#3328CC #CC8528 #6FCC28
monochromatic
#191466 #261E99 #3328CC #5D54DD #8D87E7

Accessibility & contrast

On white

9.07
#3328CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3328CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328CC
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328CC#FFFFFF#000000##FFFFFF
##3328CC1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D0
Deuteranopia (green-blind)
#0041C9
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3328cc;
/* rgb */ color: rgb(51, 40, 204);
/* oklch */ color: oklch(42.8% 0.235 273.2);
Tailwind
colors: {
  custom: {
    50: '#8467dd',
    500: '#3328cc',
    950: '#000000',
  },
}
SCSS
$custom: #3328cc;
$custom-light: #8467dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3328cc",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 244.024,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.23499,
    "h": 273.2
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#3328CC
secondary
#CBD17F
accent
#EA3EDF
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3328CC

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

Preview Lab → · Contrast checker → · Palette generator →

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