#3328B4#3328B4

#3328B4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.207 H 275.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3328B4
RGBrgb(51, 40, 180)
HSLhsl(245, 64%, 43%)
HSVhsv(245, 78%, 71%)
CMYKcmyk(71.7%, 77.8%, 0%, 29.4%)
CIE-LABlab(28.16, 48.51, -71.38)
CIE-LCHlch(28.16, 86.31, 304.20°)
OKLaboklab(40.18% 0.0187 -0.2064)
OKLCHoklch(40.18% 0.207 275.2)
XYZxyz(10.3595, 5.5157, 43.6898)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328B4 #A9B428
analogous
#2863B4 #3328B4 #7928B4
triadic
#3328B4 #B43328 #28B433
tetradic
#3328B4 #B42863 #A9B428 #28B479
square
#3328B4 #B42863 #A9B428 #28B479
split-complementary
#3328B4 #B47928 #63B428
monochromatic
#171250 #251D82 #3328B4 #4F44D5 #7E76E1

Accessibility & contrast

On white

9.98
#3328B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3328B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328B4
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328B4#FFFFFF#000000##FFFFFF
##3328B41.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3328b4;
/* rgb */ color: rgb(51, 40, 180);
/* oklch */ color: oklch(40.2% 0.207 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f65cc',
    500: '#3328b4',
    950: '#000000',
  },
}
SCSS
$custom: #3328b4;
$custom-light: #7f65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3328b4",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 244.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.20726,
    "h": 275.2
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#3328B4
secondary
#C1C870
accent
#E741DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3328B4

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

Preview Lab → · Contrast checker → · Palette generator →

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