#332EBC#332EBC

#332EBC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.211 H 273.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#332EBC
RGBrgb(51, 46, 188)
HSLhsl(242, 61%, 46%)
HSVhsv(242, 76%, 74%)
CMYKcmyk(72.9%, 75.5%, 0%, 26.3%)
CIE-LABlab(30.13, 47.88, -72.88)
CIE-LCHlch(30.13, 87.20, 303.30°)
OKLaboklab(41.82% 0.0142 -0.2108)
OKLCHoklch(41.82% 0.211 273.9)
XYZxyz(11.4163, 6.2875, 48.1792)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EBC #B7BC2E
analogous
#2E70BC #332EBC #7A2EBC
triadic
#332EBC #BC332E #2EBC33
tetradic
#332EBC #BC2E70 #B7BC2E #2EBC7A
square
#332EBC #BC2E70 #B7BC2E #2EBC7A
split-complementary
#332EBC #BC7A2E #70BC2E
monochromatic
#18165A #26228B #332EBC #5752D5 #8784E1

Accessibility & contrast

On white

9.30
#332EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#332EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332EBC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EBC#FFFFFF#000000##FFFFFF
##332EBC1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332ebc;
/* rgb */ color: rgb(51, 46, 188);
/* oklch */ color: oklch(41.8% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#8069d2',
    500: '#332ebc',
    950: '#000000',
  },
}
SCSS
$custom: #332ebc;
$custom-light: #8069d2;
$custom-dark: #000000;
JSON
{
  "hex": "#332ebc",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 242.113,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.2113,
    "h": 273.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#332EBC
secondary
#C7CA7C
accent
#E444DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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