#332CAF#332CAF

#332CAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.198 H 275.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#332CAF
RGBrgb(51, 44, 175)
HSLhsl(243, 60%, 43%)
HSVhsv(243, 75%, 69%)
CMYKcmyk(70.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(28.38, 44.77, -68.03)
CIE-LCHlch(28.38, 81.44, 303.35°)
OKLaboklab(40.18% 0.0178 -0.1967)
OKLCHoklch(40.18% 0.198 275.2)
XYZxyz(10.0012, 5.5994, 41.1028)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CAF #A8AF2C
analogous
#2C66AF #332CAF #742CAF
triadic
#332CAF #AF332C #2CAF33
tetradic
#332CAF #AF2C66 #A8AF2C #2CAF74
square
#332CAF #AF2C66 #A8AF2C #2CAF74
split-complementary
#332CAF #AF742C #66AF2C
monochromatic
#16134D #25207E #332CAF #4F47D1 #7E78DD

Accessibility & contrast

On white

9.91
#332CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#332CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CAF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CAF#FFFFFF#000000##FFFFFF
##332CAF1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332caf;
/* rgb */ color: rgb(51, 44, 175);
/* oklch */ color: oklch(40.2% 0.198 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d67c8',
    500: '#332caf',
    950: '#000000',
  },
}
SCSS
$custom: #332caf;
$custom-light: #7d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#332caf",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 243.206,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.1975,
    "h": 275.2
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#332CAF
secondary
#C1C572
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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