#3328B8#3328B8

#3328B8 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.212 H 274.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3328B8
RGBrgb(51, 40, 184)
HSLhsl(245, 64%, 44%)
HSVhsv(245, 78%, 72%)
CMYKcmyk(72.3%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.59, 49.76, -73.04)
CIE-LCHlch(28.59, 88.38, 304.27°)
OKLaboklab(40.62% 0.0177 -0.2112)
OKLCHoklch(40.62% 0.212 274.8)
XYZxyz(10.7729, 5.6810, 45.8669)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328B8 #ADB828
analogous
#2865B8 #3328B8 #7B28B8
triadic
#3328B8 #B83328 #28B833
tetradic
#3328B8 #B82865 #ADB828 #28B87B
square
#3328B8 #B82865 #ADB828 #28B87B
split-complementary
#3328B8 #B87B28 #65B828
monochromatic
#171253 #251D86 #3328B8 #5146D7 #8179E2

Accessibility & contrast

On white

9.83
#3328B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3328B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328B8
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328B8#FFFFFF#000000##FFFFFF
##3328B81.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3328b8;
/* rgb */ color: rgb(51, 40, 184);
/* oklch */ color: oklch(40.6% 0.212 274.8);
Tailwind
colors: {
  custom: {
    50: '#8065cf',
    500: '#3328b8',
    950: '#000000',
  },
}
SCSS
$custom: #3328b8;
$custom-light: #8065cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3328b8",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 244.583,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.21198,
    "h": 274.8
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#3328B8
secondary
#C3CA72
accent
#E741DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3328B8

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

Preview Lab → · Contrast checker → · Palette generator →

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