#325798#325798

#325798 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.114 H 260.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#325798
RGBrgb(50, 87, 152)
HSLhsl(218, 50%, 40%)
HSVhsv(218, 67%, 60%)
CMYKcmyk(67.1%, 42.8%, 0%, 40.4%)
CIE-LABlab(37.41, 8.85, -39.54)
CIE-LCHlch(37.41, 40.52, 282.62°)
OKLaboklab(46.32% -0.0182 -0.1128)
OKLCHoklch(46.32% 0.114 260.8)
XYZxyz(10.3891, 9.7605, 31.0361)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325798 #987332
analogous
#328A98 #325798 #403298
triadic
#325798 #983257 #579832
tetradic
#325798 #98328A #987332 #329840
square
#325798 #98328A #987332 #329840
split-complementary
#325798 #984032 #8A9832
monochromatic
#14223C #233D6A #325798 #4572C2 #7395D1

Accessibility & contrast

On white

7.11
#325798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #325798
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325798#FFFFFF#000000##FFFFFF
##3257981.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #325798;
/* rgb */ color: rgb(50, 87, 152);
/* oklch */ color: oklch(46.3% 0.114 260.8);
Tailwind
colors: {
  custom: {
    50: '#7585b7',
    500: '#325798',
    950: '#000000',
  },
}
SCSS
$custom: #325798;
$custom-light: #7585b7;
$custom-dark: #000000;
JSON
{
  "hex": "#325798",
  "rgb": {
    "r": 50,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 218.235,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.11422,
    "h": 260.8
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #325798

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

Preview Lab → · Contrast checker → · Palette generator →

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