#332E96#332E96

#332E96 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.164 H 277.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#332E96
RGBrgb(51, 46, 150)
HSLhsl(243, 53%, 38%)
HSVhsv(243, 69%, 59%)
CMYKcmyk(66%, 69.3%, 0%, 41.2%)
CIE-LABlab(26.33, 35.25, -56.25)
CIE-LCHlch(26.33, 66.38, 302.07°)
OKLaboklab(37.97% 0.0209 -0.1623)
OKLCHoklch(37.97% 0.164 277.3)
XYZxyz(7.8455, 4.8592, 29.3727)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E96 #91962E
analogous
#2E5D96 #332E96 #672E96
triadic
#332E96 #96332E #2E9633
tetradic
#332E96 #962E5D #91962E #2E9667
square
#332E96 #962E5D #91962E #2E9667
split-complementary
#332E96 #96672E #5D962E
monochromatic
#131138 #232067 #332E96 #443EC4 #716CD2

Accessibility & contrast

On white

10.65
#332E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#332E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E96
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E96#FFFFFF#000000##FFFFFF
##332E961.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #332e96;
/* rgb */ color: rgb(51, 46, 150);
/* oklch */ color: oklch(38.0% 0.164 277.3);
Tailwind
colors: {
  custom: {
    50: '#7867b6',
    500: '#332e96',
    950: '#000000',
  },
}
SCSS
$custom: #332e96;
$custom-light: #7867b6;
$custom-dark: #000000;
JSON
{
  "hex": "#332e96",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 242.885,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.16364,
    "h": 277.3
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#332E96
secondary
#B5B967
accent
#DC4BD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332E96

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

Preview Lab → · Contrast checker → · Palette generator →

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