#322DAF#322DAF

#322DAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.197 H 274.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#322DAF
RGBrgb(50, 45, 175)
HSLhsl(242, 59%, 43%)
HSVhsv(242, 74%, 69%)
CMYKcmyk(71.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.51, 44.11, -67.82)
CIE-LCHlch(28.51, 80.90, 303.04°)
OKLaboklab(40.26% 0.016 -0.1961)
OKLCHoklch(40.26% 0.197 274.7)
XYZxyz(9.9891, 5.6491, 41.1131)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322DAF #AAAF2D
analogous
#2D69AF #322DAF #732DAF
triadic
#322DAF #AF322D #2DAF32
tetradic
#322DAF #AF2D69 #AAAF2D #2DAF73
square
#322DAF #AF2D69 #AAAF2D #2DAF73
split-complementary
#322DAF #AF732D #69AF2D
monochromatic
#16144E #24207E #322DAF #4E49D0 #7D7ADD

Accessibility & contrast

On white

9.86
#322DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#322DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322DAF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322DAF#FFFFFF#000000##FFFFFF
##322DAF1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #322daf;
/* rgb */ color: rgb(50, 45, 175);
/* oklch */ color: oklch(40.3% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d68c8',
    500: '#322daf',
    950: '#000000',
  },
}
SCSS
$custom: #322daf;
$custom-light: #7d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#322daf",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 242.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.19676,
    "h": 274.7
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#322DAF
secondary
#C2C573
accent
#E246DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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