#332DB0#332DB0

#332DB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.198 H 275.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#332DB0
RGBrgb(51, 45, 176)
HSLhsl(243, 59%, 43%)
HSVhsv(243, 74%, 69%)
CMYKcmyk(71%, 74.4%, 0%, 31%)
CIE-LABlab(28.68, 44.53, -68.13)
CIE-LCHlch(28.68, 81.40, 303.17°)
OKLaboklab(40.43% 0.0171 -0.197)
OKLCHoklch(40.43% 0.198 275)
XYZxyz(10.1375, 5.7142, 41.6346)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DB0 #AAB02D
analogous
#2D68B0 #332DB0 #742DB0
triadic
#332DB0 #B0332D #2DB033
tetradic
#332DB0 #B02D68 #AAB02D #2DB074
square
#332DB0 #B02D68 #AAB02D #2DB074
split-complementary
#332DB0 #B0742D #68B02D
monochromatic
#17144F #25217F #332DB0 #504AD1 #7F7ADD

Accessibility & contrast

On white

9.80
#332DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#332DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DB0
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DB0#FFFFFF#000000##FFFFFF
##332DB01.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332db0;
/* rgb */ color: rgb(51, 45, 176);
/* oklch */ color: oklch(40.4% 0.198 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d68c9',
    500: '#332db0',
    950: '#000000',
  },
}
SCSS
$custom: #332db0;
$custom-light: #7d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#332db0",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 242.748,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.19774,
    "h": 275
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#332DB0
secondary
#C2C573
accent
#E245DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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