#332EBE#332EBE

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

Color values

HEX#332EBE
RGBrgb(51, 46, 190)
HSLhsl(242, 61%, 46%)
HSVhsv(242, 76%, 75%)
CMYKcmyk(73.2%, 75.8%, 0%, 25.5%)
CIE-LABlab(30.34, 48.52, -73.71)
CIE-LCHlch(30.34, 88.24, 303.36°)
OKLaboklab(42.04% 0.0138 -0.2132)
OKLCHoklch(42.04% 0.214 273.7)
XYZxyz(11.6334, 6.3743, 49.3225)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EBE #B9BE2E
analogous
#2E71BE #332EBE #7B2EBE
triadic
#332EBE #BE332E #2EBE33
tetradic
#332EBE #BE2E71 #B9BE2E #2EBE7B
square
#332EBE #BE2E71 #B9BE2E #2EBE7B
split-complementary
#332EBE #BE7B2E #71BE2E
monochromatic
#19165B #26228D #332EBE #5854D6 #8885E1

Accessibility & contrast

On white

9.23
#332EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#332EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332EBE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EBE#FFFFFF#000000##FFFFFF
##332EBE1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC2
Deuteranopia (green-blind)
#0040BB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #332ebe;
/* rgb */ color: rgb(51, 46, 190);
/* oklch */ color: oklch(42.0% 0.214 273.7);
Tailwind
colors: {
  custom: {
    50: '#8169d3',
    500: '#332ebe',
    950: '#000000',
  },
}
SCSS
$custom: #332ebe;
$custom-light: #8169d3;
$custom-dark: #000000;
JSON
{
  "hex": "#332ebe",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 242.083,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.21369,
    "h": 273.7
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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