#322F7E#322F7E

#322F7E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.130 H 279.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#322F7E
RGBrgb(50, 47, 126)
HSLhsl(242, 46%, 34%)
HSVhsv(242, 63%, 49%)
CMYKcmyk(60.3%, 62.7%, 0%, 50.6%)
CIE-LABlab(24.38, 26.11, -44.50)
CIE-LCHlch(24.38, 51.60, 300.40°)
OKLaboklab(35.88% 0.021 -0.1279)
OKLCHoklch(35.88% 0.13 279.3)
XYZxyz(6.0966, 4.2171, 20.2273)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F7E #7B7E2F
analogous
#2F547E #322F7E #5A2F7E
triadic
#322F7E #7E322F #2F7E32
tetradic
#322F7E #7E2F54 #7B7E2F #2F7E5A
square
#322F7E #7E2F54 #7B7E2F #2F7E5A
split-complementary
#322F7E #7E5A2F #547E2F
monochromatic
#0F0E25 #201E51 #322F7E #4440AB #6663C5

Accessibility & contrast

On white

11.39
#322F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F7E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F7E#FFFFFF#000000##FFFFFF
##322F7E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322f7e;
/* rgb */ color: rgb(50, 47, 126);
/* oklch */ color: oklch(35.9% 0.130 279.3);
Tailwind
colors: {
  custom: {
    50: '#7267a4',
    500: '#322f7e',
    950: '#000000',
  },
}
SCSS
$custom: #322f7e;
$custom-light: #7267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#322f7e",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 242.278,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.12958,
    "h": 279.3
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#322F7E
secondary
#A9AC5D
accent
#D552D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #322F7E

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

Preview Lab → · Contrast checker → · Palette generator →

#322F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva