#332EAD#332EAD

#332EAD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.193 H 275.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#332EAD
RGBrgb(51, 46, 173)
HSLhsl(242, 58%, 43%)
HSVhsv(242, 73%, 68%)
CMYKcmyk(70.5%, 73.4%, 0%, 32.2%)
CIE-LABlab(28.57, 42.98, -66.51)
CIE-LCHlch(28.57, 79.19, 302.87°)
OKLaboklab(40.26% 0.0171 -0.1923)
OKLCHoklch(40.26% 0.193 275.1)
XYZxyz(9.8826, 5.6740, 40.1014)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EAD #A8AD2E
analogous
#2E68AD #332EAD #722EAD
triadic
#332EAD #AD332E #2EAD33
tetradic
#332EAD #AD2E68 #A8AD2E #2EAD72
square
#332EAD #AD2E68 #A8AD2E #2EAD72
split-complementary
#332EAD #AD722E #68AD2E
monochromatic
#16144C #25217D #332EAD #4F49CF #7E7ADC

Accessibility & contrast

On white

9.84
#332EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#332EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332EAD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EAD#FFFFFF#000000##FFFFFF
##332EAD1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332ead;
/* rgb */ color: rgb(51, 46, 173);
/* oklch */ color: oklch(40.3% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d68c7',
    500: '#332ead',
    950: '#000000',
  },
}
SCSS
$custom: #332ead;
$custom-light: #7d68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#332ead",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 242.362,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.19304,
    "h": 275.1
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#332EAD
secondary
#C1C473
accent
#E147DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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