#332ABF#332ABF

#332ABF is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.218 H 274.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#332ABF
RGBrgb(51, 42, 191)
HSLhsl(244, 64%, 46%)
HSVhsv(244, 78%, 75%)
CMYKcmyk(73.3%, 78%, 0%, 25.1%)
CIE-LABlab(29.71, 50.93, -75.33)
CIE-LCHlch(29.71, 90.93, 304.06°)
OKLaboklab(41.63% 0.0153 -0.2179)
OKLCHoklch(41.63% 0.218 274)
XYZxyz(11.5941, 6.1202, 49.8504)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332ABF #B6BF2A
analogous
#2A6BBF #332ABF #7D2ABF
triadic
#332ABF #BF332A #2ABF33
tetradic
#332ABF #BF2A6B #B6BF2A #2ABF7D
square
#332ABF #BF2A6B #B6BF2A #2ABF7D
split-complementary
#332ABF #BF7D2A #6BBF2A
monochromatic
#18145B #261F8D #332ABF #564ED8 #8680E3

Accessibility & contrast

On white

9.44
#332ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#332ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332ABF
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332ABF#FFFFFF#000000##FFFFFF
##332ABF1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#003FBC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332abf;
/* rgb */ color: rgb(51, 42, 191);
/* oklch */ color: oklch(41.6% 0.218 274.0);
Tailwind
colors: {
  custom: {
    50: '#8167d4',
    500: '#332abf',
    950: '#000000',
  },
}
SCSS
$custom: #332abf;
$custom-light: #8167d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332abf",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 243.624,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.21844,
    "h": 274
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#332ABF
secondary
#C7CC79
accent
#E741DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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