#332DB3#332DB3

#332DB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.201 H 274.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#332DB3
RGBrgb(51, 45, 179)
HSLhsl(243, 60%, 44%)
HSVhsv(243, 75%, 70%)
CMYKcmyk(71.5%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.99, 45.51, -69.41)
CIE-LCHlch(28.99, 83.00, 303.25°)
OKLaboklab(40.74% 0.0165 -0.2007)
OKLCHoklch(40.74% 0.201 274.7)
XYZxyz(10.4376, 5.8342, 43.2151)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DB3 #ADB32D
analogous
#2D6AB3 #332DB3 #762DB3
triadic
#332DB3 #B3332D #2DB333
tetradic
#332DB3 #B32D6A #ADB32D #2DB376
square
#332DB3 #B32D6A #ADB32D #2DB376
split-complementary
#332DB3 #B3762D #6AB32D
monochromatic
#171451 #252182 #332DB3 #514BD2 #817CDE

Accessibility & contrast

On white

9.69
#332DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#332DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DB3
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DB3#FFFFFF#000000##FFFFFF
##332DB31.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332db3;
/* rgb */ color: rgb(51, 45, 179);
/* oklch */ color: oklch(40.7% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e68cb',
    500: '#332db3',
    950: '#000000',
  },
}
SCSS
$custom: #332db3;
$custom-light: #7e68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#332db3",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 242.687,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.2014,
    "h": 274.7
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#332DB3
secondary
#C3C775
accent
#E345DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #332DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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