#325799#325799

#325799 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.116 H 261.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#325799
RGBrgb(50, 87, 153)
HSLhsl(218, 51%, 40%)
HSVhsv(218, 67%, 60%)
CMYKcmyk(67.3%, 43.1%, 0%, 40%)
CIE-LABlab(37.47, 9.22, -40.04)
CIE-LCHlch(37.47, 41.09, 282.97°)
OKLaboklab(46.38% -0.018 -0.1142)
OKLCHoklch(46.38% 0.116 261.1)
XYZxyz(10.4713, 9.7934, 31.4693)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325799 #997432
analogous
#328A99 #325799 #413299
triadic
#325799 #993257 #579932
tetradic
#325799 #99328A #997432 #329941
square
#325799 #99328A #997432 #329941
split-complementary
#325799 #994132 #8A9932
monochromatic
#14233D #233D6B #325799 #4673C2 #7496D2

Accessibility & contrast

On white

7.10
#325799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#325799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325799
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325799#FFFFFF#000000##FFFFFF
##3257991.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #325799;
/* rgb */ color: rgb(50, 87, 153);
/* oklch */ color: oklch(46.4% 0.116 261.1);
Tailwind
colors: {
  custom: {
    50: '#7585b7',
    500: '#325799',
    950: '#000000',
  },
}
SCSS
$custom: #325799;
$custom-light: #7585b7;
$custom-dark: #000000;
JSON
{
  "hex": "#325799",
  "rgb": {
    "r": 50,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 218.447,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.11566,
    "h": 261.1
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#325799
secondary
#BA9E6D
accent
#A84EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #325799

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

Preview Lab → · Contrast checker → · Palette generator →

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