#332CAA#332CAA

#332CAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.191 H 275.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#332CAA
RGBrgb(51, 44, 170)
HSLhsl(243, 59%, 42%)
HSVhsv(243, 74%, 67%)
CMYKcmyk(70%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.86, 43.13, -65.88)
CIE-LCHlch(27.86, 78.74, 303.21°)
OKLaboklab(39.67% 0.0188 -0.1904)
OKLCHoklch(39.67% 0.191 275.6)
XYZxyz(9.5192, 5.4066, 38.5643)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CAA #A3AA2C
analogous
#2C64AA #332CAA #722CAA
triadic
#332CAA #AA332C #2CAA33
tetradic
#332CAA #AA2C64 #A3AA2C #2CAA72
square
#332CAA #AA2C64 #A3AA2C #2CAA72
split-complementary
#332CAA #AA722C #64AA2C
monochromatic
#161349 #241F79 #332CAA #4C44CF #7B75DB

Accessibility & contrast

On white

10.09
#332CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#332CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CAA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CAA#FFFFFF#000000##FFFFFF
##332CAA1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #332caa;
/* rgb */ color: rgb(51, 44, 170);
/* oklch */ color: oklch(39.7% 0.191 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c67c4',
    500: '#332caa',
    950: '#000000',
  },
}
SCSS
$custom: #332caa;
$custom-light: #7c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#332caa",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 243.333,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.19136,
    "h": 275.6
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#332CAA
secondary
#BEC36F
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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