#332CB0#332CB0

#332CB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.199 H 275.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#332CB0
RGBrgb(51, 44, 176)
HSLhsl(243, 60%, 43%)
HSVhsv(243, 75%, 69%)
CMYKcmyk(71%, 75%, 0%, 31%)
CIE-LABlab(28.48, 45.09, -68.46)
CIE-LCHlch(28.48, 81.97, 303.37°)
OKLaboklab(40.29% 0.0176 -0.1979)
OKLCHoklch(40.29% 0.199 275.1)
XYZxyz(10.0998, 5.6388, 41.6220)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB0 #A9B02C
analogous
#2C67B0 #332CB0 #752CB0
triadic
#332CB0 #B0332C #2CB033
tetradic
#332CB0 #B02C67 #A9B02C #2CB075
square
#332CB0 #B02C67 #A9B02C #2CB075
split-complementary
#332CB0 #B0752C #67B02C
monochromatic
#17144E #25207F #332CB0 #4F48D1 #7E79DD

Accessibility & contrast

On white

9.87
#332CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#332CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB0
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB0#FFFFFF#000000##FFFFFF
##332CB01.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332cb0;
/* rgb */ color: rgb(51, 44, 176);
/* oklch */ color: oklch(40.3% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e67c9',
    500: '#332cb0',
    950: '#000000',
  },
}
SCSS
$custom: #332cb0;
$custom-light: #7e67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb0",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 243.182,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.19872,
    "h": 275.1
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#332CB0
secondary
#C1C672
accent
#E345DB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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