#322F8F#322F8F

#322F8F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.153 H 277.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#322F8F
RGBrgb(50, 47, 143)
HSLhsl(242, 51%, 37%)
HSVhsv(242, 67%, 56%)
CMYKcmyk(65%, 67.1%, 0%, 43.9%)
CIE-LABlab(25.84, 32.06, -52.73)
CIE-LCHlch(25.84, 61.71, 301.30°)
OKLaboklab(37.41% 0.0197 -0.152)
OKLCHoklch(37.41% 0.153 277.4)
XYZxyz(7.2882, 4.6937, 26.5032)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F8F #8C8F2F
analogous
#2F5C8F #322F8F #622F8F
triadic
#322F8F #8F322F #2F8F32
tetradic
#322F8F #8F2F5C #8C8F2F #2F8F62
square
#322F8F #8F2F5C #8C8F2F #2F8F62
split-complementary
#322F8F #8F622F #5C8F2F
monochromatic
#121133 #222061 #322F8F #423EBD #6D6ACE

Accessibility & contrast

On white

10.83
#322F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#322F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F8F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F8F#FFFFFF#000000##FFFFFF
##322F8F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322f8f;
/* rgb */ color: rgb(50, 47, 143);
/* oklch */ color: oklch(37.4% 0.153 277.4);
Tailwind
colors: {
  custom: {
    50: '#7668b1',
    500: '#322f8f',
    950: '#000000',
  },
}
SCSS
$custom: #322f8f;
$custom-light: #7668b1;
$custom-dark: #000000;
JSON
{
  "hex": "#322f8f",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 241.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.15329,
    "h": 277.4
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#322F8F
secondary
#B3B565
accent
#DA4ED6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #322F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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