#332E7E#332E7E

#332E7E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.131 H 280.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#332E7E
RGBrgb(51, 46, 126)
HSLhsl(244, 47%, 34%)
HSVhsv(244, 63%, 49%)
CMYKcmyk(59.5%, 63.5%, 0%, 50.6%)
CIE-LABlab(24.21, 26.96, -44.78)
CIE-LCHlch(24.21, 52.27, 301.05°)
OKLaboklab(35.77% 0.0234 -0.1286)
OKLCHoklch(35.77% 0.131 280.3)
XYZxyz(6.1069, 4.1637, 20.2165)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E7E #797E2E
analogous
#2E517E #332E7E #5B2E7E
triadic
#332E7E #7E332E #2E7E33
tetradic
#332E7E #7E2E51 #797E2E #2E7E5B
square
#332E7E #7E2E51 #797E2E #2E7E5B
split-complementary
#332E7E #7E5B2E #517E2E
monochromatic
#0F0D24 #211E51 #332E7E #453EAB #6761C5

Accessibility & contrast

On white

11.46
#332E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#332E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E7E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E7E#FFFFFF#000000##FFFFFF
##332E7E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#074151
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #332e7e;
/* rgb */ color: rgb(51, 46, 126);
/* oklch */ color: oklch(35.8% 0.131 280.3);
Tailwind
colors: {
  custom: {
    50: '#7367a4',
    500: '#332e7e',
    950: '#000000',
  },
}
SCSS
$custom: #332e7e;
$custom-light: #7367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#332e7e",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 243.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.13075,
    "h": 280.3
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#332E7E
secondary
#A7AC5C
accent
#D652CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #332E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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