#325797#325797

#325797 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.3% C 0.113 H 260.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#325797
RGBrgb(50, 87, 151)
HSLhsl(218, 50%, 39%)
HSVhsv(218, 67%, 59%)
CMYKcmyk(66.9%, 42.4%, 0%, 40.8%)
CIE-LABlab(37.35, 8.48, -39.03)
CIE-LCHlch(37.35, 39.94, 282.26°)
OKLaboklab(46.25% -0.0184 -0.1113)
OKLCHoklch(46.25% 0.113 260.6)
XYZxyz(10.3075, 9.7279, 30.6066)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325797 #977232
analogous
#328A97 #325797 #403297
triadic
#325797 #973257 #579732
tetradic
#325797 #97328A #977232 #329740
square
#325797 #97328A #977232 #329740
split-complementary
#325797 #974032 #8A9732
monochromatic
#14223B #233D69 #325797 #4572C1 #7395D1

Accessibility & contrast

On white

7.13
#325797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#325797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325797
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325797#FFFFFF#000000##FFFFFF
##3257971.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #325797;
/* rgb */ color: rgb(50, 87, 151);
/* oklch */ color: oklch(46.3% 0.113 260.6);
Tailwind
colors: {
  custom: {
    50: '#7586b6',
    500: '#325797',
    950: '#000000',
  },
}
SCSS
$custom: #325797;
$custom-light: #7586b6;
$custom-dark: #000000;
JSON
{
  "hex": "#325797",
  "rgb": {
    "r": 50,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 218.02,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.11278,
    "h": 260.6
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#325797
secondary
#B99D6C
accent
#A74EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #325797

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

Preview Lab → · Contrast checker → · Palette generator →

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