#332BC5#332BC5

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

Color values

HEX#332BC5
RGBrgb(51, 43, 197)
HSLhsl(243, 64%, 47%)
HSVhsv(243, 78%, 77%)
CMYKcmyk(74.1%, 78.2%, 0%, 22.7%)
CIE-LABlab(30.55, 52.29, -77.48)
CIE-LCHlch(30.55, 93.47, 304.02°)
OKLaboklab(42.41% 0.0135 -0.2242)
OKLCHoklch(42.41% 0.225 273.5)
XYZxyz(12.3038, 6.4615, 53.4113)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BC5 #BDC52B
analogous
#2B70C5 #332BC5 #802BC5
triadic
#332BC5 #C5332B #2BC533
tetradic
#332BC5 #C52B70 #BDC52B #2BC580
square
#332BC5 #C52B70 #BDC52B #2BC580
split-complementary
#332BC5 #C5802B #70C52B
monochromatic
#191561 #262093 #332BC5 #5B54DA #8B86E5

Accessibility & contrast

On white

9.16
#332BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#332BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BC5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BC5#FFFFFF#000000##FFFFFF
##332BC51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0040C2
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #332bc5;
/* rgb */ color: rgb(51, 43, 197);
/* oklch */ color: oklch(42.4% 0.225 273.5);
Tailwind
colors: {
  custom: {
    50: '#8268d8',
    500: '#332bc5',
    950: '#000000',
  },
}
SCSS
$custom: #332bc5;
$custom-light: #8268d8;
$custom-dark: #000000;
JSON
{
  "hex": "#332bc5",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 243.117,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.22457,
    "h": 273.5
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#332BC5
secondary
#CACE7E
accent
#E741DF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #332BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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