#322F8E#322F8E

#322F8E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.152 H 277.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#322F8E
RGBrgb(50, 47, 142)
HSLhsl(242, 50%, 37%)
HSVhsv(242, 67%, 56%)
CMYKcmyk(64.8%, 66.9%, 0%, 44.3%)
CIE-LABlab(25.75, 31.71, -52.26)
CIE-LCHlch(25.75, 61.13, 301.25°)
OKLaboklab(37.31% 0.0198 -0.1506)
OKLCHoklch(37.31% 0.152 277.5)
XYZxyz(7.2128, 4.6636, 26.1060)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F8E #8B8E2F
analogous
#2F5B8E #322F8E #622F8E
triadic
#322F8E #8E322F #2F8E32
tetradic
#322F8E #8E2F5B #8B8E2F #2F8E62
square
#322F8E #8E2F5B #8B8E2F #2F8E62
split-complementary
#322F8E #8E622F #5B8E2F
monochromatic
#121132 #222060 #322F8E #423EBC #6D6ACE

Accessibility & contrast

On white

10.87
#322F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#322F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F8E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F8E#FFFFFF#000000##FFFFFF
##322F8E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322f8e;
/* rgb */ color: rgb(50, 47, 142);
/* oklch */ color: oklch(37.3% 0.152 277.5);
Tailwind
colors: {
  custom: {
    50: '#7568b0',
    500: '#322f8e',
    950: '#000000',
  },
}
SCSS
$custom: #322f8e;
$custom-light: #7568b0;
$custom-dark: #000000;
JSON
{
  "hex": "#322f8e",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 241.895,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.15193,
    "h": 277.5
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#322F8E
secondary
#B2B564
accent
#DA4ED5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #322F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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