#322F9D#322F9D

#322F9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.172 H 276.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#322F9D
RGBrgb(50, 47, 157)
HSLhsl(242, 54%, 40%)
HSVhsv(242, 70%, 62%)
CMYKcmyk(68.2%, 70.1%, 0%, 38.4%)
CIE-LABlab(27.14, 36.89, -59.20)
CIE-LCHlch(27.14, 69.75, 301.93°)
OKLaboklab(38.74% 0.0179 -0.1709)
OKLCHoklch(38.74% 0.172 276)
XYZxyz(8.4157, 5.1447, 32.4413)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F9D #9A9D2F
analogous
#2F639D #322F9D #692F9D
triadic
#322F9D #9D322F #2F9D32
tetradic
#322F9D #9D2F63 #9A9D2F #2F9D69
square
#322F9D #9D2F63 #9A9D2F #2F9D69
split-complementary
#322F9D #9D692F #639D2F
monochromatic
#14133F #23216E #322F9D #4643C7 #7472D5

Accessibility & contrast

On white

10.35
#322F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#322F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F9D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F9D#FFFFFF#000000##FFFFFF
##322F9D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322f9d;
/* rgb */ color: rgb(50, 47, 157);
/* oklch */ color: oklch(38.7% 0.172 276.0);
Tailwind
colors: {
  custom: {
    50: '#7968bb',
    500: '#322f9d',
    950: '#000000',
  },
}
SCSS
$custom: #322f9d;
$custom-light: #7968bb;
$custom-dark: #000000;
JSON
{
  "hex": "#322f9d",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 241.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.17188,
    "h": 276
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#322F9D
secondary
#BABC6B
accent
#DD4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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