#325299#325299

#325299 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.122 H 263.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#325299
RGBrgb(50, 82, 153)
HSLhsl(221, 51%, 40%)
HSVhsv(221, 67%, 60%)
CMYKcmyk(67.3%, 46.4%, 0%, 40%)
CIE-LABlab(36.01, 12.51, -42.38)
CIE-LCHlch(36.01, 44.19, 286.44°)
OKLaboklab(45.26% -0.0129 -0.1212)
OKLCHoklch(45.26% 0.122 263.9)
XYZxyz(10.0804, 9.0116, 31.3390)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325299 #997932
analogous
#328699 #325299 #453299
triadic
#325299 #993252 #529932
tetradic
#325299 #993286 #997932 #329945
square
#325299 #993286 #997932 #329945
split-complementary
#325299 #994532 #869932
monochromatic
#14213D #23396B #325299 #466CC2 #7491D2

Accessibility & contrast

On white

7.49
#325299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#325299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325299
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325299#FFFFFF#000000##FFFFFF
##3252991.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1C5098
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #325299;
/* rgb */ color: rgb(50, 82, 153);
/* oklch */ color: oklch(45.3% 0.122 263.9);
Tailwind
colors: {
  custom: {
    50: '#7582b7',
    500: '#325299',
    950: '#000000',
  },
}
SCSS
$custom: #325299;
$custom-light: #7582b7;
$custom-dark: #000000;
JSON
{
  "hex": "#325299",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 221.359,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.12188,
    "h": 263.9
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#325299
secondary
#BAA26D
accent
#AF4EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #325299

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

Preview Lab → · Contrast checker → · Palette generator →

#325299 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva