#332FBF#332FBF

#332FBF is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.214 H 273.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#332FBF
RGBrgb(51, 47, 191)
HSLhsl(242, 61%, 47%)
HSVhsv(242, 75%, 75%)
CMYKcmyk(73.3%, 75.4%, 0%, 25.1%)
CIE-LABlab(30.63, 48.30, -73.81)
CIE-LCHlch(30.63, 88.21, 303.20°)
OKLaboklab(42.28% 0.0132 -0.2135)
OKLCHoklch(42.28% 0.214 273.5)
XYZxyz(11.7826, 6.4972, 49.9132)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FBF #BBBF2F
analogous
#2F73BF #332FBF #7B2FBF
triadic
#332FBF #BF332F #2FBF33
tetradic
#332FBF #BF2F73 #BBBF2F #2FBF7B
square
#332FBF #BF2F73 #BBBF2F #2FBF7B
split-complementary
#332FBF #BF7B2F #73BF2F
monochromatic
#19175D #26238E #332FBF #5956D5 #8987E1

Accessibility & contrast

On white

9.13
#332FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#332FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FBF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FBF#FFFFFF#000000##FFFFFF
##332FBF1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #332fbf;
/* rgb */ color: rgb(51, 47, 191);
/* oklch */ color: oklch(42.3% 0.214 273.5);
Tailwind
colors: {
  custom: {
    50: '#816ad4',
    500: '#332fbf',
    950: '#000000',
  },
}
SCSS
$custom: #332fbf;
$custom-light: #816ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#332fbf",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 241.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.21394,
    "h": 273.5
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#332FBF
secondary
#C9CB7F
accent
#E444DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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