#332AC0#332AC0

#332AC0 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.220 H 273.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#332AC0
RGBrgb(51, 42, 192)
HSLhsl(244, 64%, 46%)
HSVhsv(244, 78%, 75%)
CMYKcmyk(73.4%, 78.1%, 0%, 24.7%)
CIE-LABlab(29.82, 51.24, -75.74)
CIE-LCHlch(29.82, 91.44, 304.08°)
OKLaboklab(41.74% 0.015 -0.2191)
OKLCHoklch(41.74% 0.22 273.9)
XYZxyz(11.7045, 6.1643, 50.4319)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332AC0 #B7C02A
analogous
#2A6CC0 #332AC0 #7E2AC0
triadic
#332AC0 #C0332A #2AC033
tetradic
#332AC0 #C02A6C #B7C02A #2AC07E
square
#332AC0 #C02A6C #B7C02A #2AC07E
split-complementary
#332AC0 #C07E2A #6CC02A
monochromatic
#18145C #261F8E #332AC0 #574FD8 #8781E3

Accessibility & contrast

On white

9.40
#332AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#332AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332AC0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332AC0#FFFFFF#000000##FFFFFF
##332AC01.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003FBD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332ac0;
/* rgb */ color: rgb(51, 42, 192);
/* oklch */ color: oklch(41.7% 0.220 273.9);
Tailwind
colors: {
  custom: {
    50: '#8167d4',
    500: '#332ac0',
    950: '#000000',
  },
}
SCSS
$custom: #332ac0;
$custom-light: #8167d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332ac0",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 243.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.21961,
    "h": 273.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#332AC0
secondary
#C7CC7A
accent
#E741DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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