#322F9E#322F9E

#322F9E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.173 H 275.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#322F9E
RGBrgb(50, 47, 158)
HSLhsl(242, 54%, 40%)
HSVhsv(242, 70%, 62%)
CMYKcmyk(68.4%, 70.3%, 0%, 38%)
CIE-LABlab(27.24, 37.23, -59.65)
CIE-LCHlch(27.24, 70.32, 301.97°)
OKLaboklab(38.84% 0.0177 -0.1723)
OKLCHoklch(38.84% 0.173 275.9)
XYZxyz(8.5014, 5.1790, 32.8928)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F9E #9B9E2F
analogous
#2F639E #322F9E #6A2F9E
triadic
#322F9E #9E322F #2F9E32
tetradic
#322F9E #9E2F63 #9B9E2F #2F9E6A
square
#322F9E #9E2F63 #9B9E2F #2F9E6A
split-complementary
#322F9E #9E6A2F #639E2F
monochromatic
#141340 #23216F #322F9E #4743C7 #7572D5

Accessibility & contrast

On white

10.31
#322F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#322F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F9E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F9E#FFFFFF#000000##FFFFFF
##322F9E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322f9e;
/* rgb */ color: rgb(50, 47, 158);
/* oklch */ color: oklch(38.8% 0.173 275.9);
Tailwind
colors: {
  custom: {
    50: '#7968bc',
    500: '#322f9e',
    950: '#000000',
  },
}
SCSS
$custom: #322f9e;
$custom-light: #7968bc;
$custom-dark: #000000;
JSON
{
  "hex": "#322f9e",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 241.622,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38842,
    "c": 0.17318,
    "h": 275.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#322F9E
secondary
#BBBD6C
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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