#332EAE#332EAE

#332EAE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.194 H 275.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#332EAE
RGBrgb(51, 46, 174)
HSLhsl(242, 58%, 43%)
HSVhsv(242, 74%, 68%)
CMYKcmyk(70.7%, 73.6%, 0%, 31.8%)
CIE-LABlab(28.68, 43.31, -66.94)
CIE-LCHlch(28.68, 79.73, 302.91°)
OKLaboklab(40.37% 0.0169 -0.1935)
OKLCHoklch(40.37% 0.194 275)
XYZxyz(9.9797, 5.7128, 40.6129)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EAE #A9AE2E
analogous
#2E69AE #332EAE #732EAE
triadic
#332EAE #AE332E #2EAE33
tetradic
#332EAE #AE2E69 #A9AE2E #2EAE73
square
#332EAE #AE2E69 #A9AE2E #2EAE73
split-complementary
#332EAE #AE732E #69AE2E
monochromatic
#17144D #25217E #332EAE #4F4ACF #7E7ADC

Accessibility & contrast

On white

9.80
#332EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332EAE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EAE#FFFFFF#000000##FFFFFF
##332EAE1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332eae;
/* rgb */ color: rgb(51, 46, 174);
/* oklch */ color: oklch(40.4% 0.194 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d68c7',
    500: '#332eae',
    950: '#000000',
  },
}
SCSS
$custom: #332eae;
$custom-light: #7d68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#332eae",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 242.344,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.19428,
    "h": 275
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#332EAE
secondary
#C1C474
accent
#E146DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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