#332FBC#332FBC

#332FBC is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.210 H 273.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#332FBC
RGBrgb(51, 47, 188)
HSLhsl(242, 60%, 46%)
HSVhsv(242, 75%, 74%)
CMYKcmyk(72.9%, 75%, 0%, 26.3%)
CIE-LABlab(30.32, 47.33, -72.56)
CIE-LCHlch(30.32, 86.63, 303.12°)
OKLaboklab(41.96% 0.0137 -0.2099)
OKLCHoklch(41.96% 0.21 273.7)
XYZxyz(11.4558, 6.3665, 48.1923)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FBC #B8BC2F
analogous
#2F71BC #332FBC #792FBC
triadic
#332FBC #BC332F #2FBC33
tetradic
#332FBC #BC2F71 #B8BC2F #2FBC79
square
#332FBC #BC2F71 #B8BC2F #2FBC79
split-complementary
#332FBC #BC792F #71BC2F
monochromatic
#18175A #26238B #332FBC #5854D4 #8885E0

Accessibility & contrast

On white

9.24
#332FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#332FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FBC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FBC#FFFFFF#000000##FFFFFF
##332FBC1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #332fbc;
/* rgb */ color: rgb(51, 47, 188);
/* oklch */ color: oklch(42.0% 0.210 273.7);
Tailwind
colors: {
  custom: {
    50: '#806ad1',
    500: '#332fbc',
    950: '#000000',
  },
}
SCSS
$custom: #332fbc;
$custom-light: #806ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#332fbc",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 241.702,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.21035,
    "h": 273.7
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#332FBC
secondary
#C8CA7D
accent
#E345DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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