#322F7B#322F7B

#322F7B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.125 H 279.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#322F7B
RGBrgb(50, 47, 123)
HSLhsl(242, 45%, 33%)
HSVhsv(242, 62%, 48%)
CMYKcmyk(59.3%, 61.8%, 0%, 51.8%)
CIE-LABlab(24.13, 25.06, -43.01)
CIE-LCHlch(24.13, 49.77, 300.23°)
OKLaboklab(35.62% 0.0211 -0.1235)
OKLCHoklch(35.62% 0.125 279.7)
XYZxyz(5.9059, 4.1408, 19.2231)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F7B #787B2F
analogous
#2F527B #322F7B #582F7B
triadic
#322F7B #7B322F #2F7B32
tetradic
#322F7B #7B2F52 #787B2F #2F7B58
square
#322F7B #7B2F52 #787B2F #2F7B58
split-complementary
#322F7B #7B582F #527B2F
monochromatic
#0E0D22 #201E4F #322F7B #4440A7 #6562C3

Accessibility & contrast

On white

11.49
#322F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#322F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F7B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F7B#FFFFFF#000000##FFFFFF
##322F7B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#084150
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322f7b;
/* rgb */ color: rgb(50, 47, 123);
/* oklch */ color: oklch(35.6% 0.125 279.7);
Tailwind
colors: {
  custom: {
    50: '#7267a2',
    500: '#322f7b',
    950: '#000000',
  },
}
SCSS
$custom: #322f7b;
$custom-light: #7267a2;
$custom-dark: #000000;
JSON
{
  "hex": "#322f7b",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 242.368,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3562,
    "c": 0.12525,
    "h": 279.7
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#322F7B
secondary
#A7AA5C
accent
#D453CF
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #322F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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