#325FA2#325FA2

#325FA2 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.8% C 0.119 H 258.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#325FA2
RGBrgb(50, 95, 162)
HSLhsl(216, 53%, 42%)
HSVhsv(216, 69%, 64%)
CMYKcmyk(69.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.36, 7.39, -40.82)
CIE-LCHlch(40.36, 41.48, 280.26°)
OKLaboklab(48.8% -0.0242 -0.1164)
OKLCHoklch(48.8% 0.119 258.3)
XYZxyz(11.9268, 11.4699, 35.7608)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325FA2 #A27532
analogous
#3297A2 #325FA2 #3D32A2
triadic
#325FA2 #A2325F #5FA232
tetradic
#325FA2 #A23297 #A27532 #32A23D
square
#325FA2 #A23297 #A27532 #32A23D
split-complementary
#325FA2 #A23D32 #97A232
monochromatic
#152844 #244473 #325FA2 #4A7CC7 #799ED6

Accessibility & contrast

On white

6.37
#325FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#325FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325FA2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325FA2#FFFFFF#000000##FFFFFF
##325FA21.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325fa2;
/* rgb */ color: rgb(50, 95, 162);
/* oklch */ color: oklch(48.8% 0.119 258.3);
Tailwind
colors: {
  custom: {
    50: '#778cbe',
    500: '#325fa2',
    950: '#000000',
  },
}
SCSS
$custom: #325fa2;
$custom-light: #778cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#325fa2",
  "rgb": {
    "r": 50,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 215.893,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.11888,
    "h": 258.3
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#325FA2
secondary
#BE9F72
accent
#A24CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #325FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#325FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva