#325EA6#325EA6

#325EA6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.126 H 259.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#325EA6
RGBrgb(50, 94, 166)
HSLhsl(217, 54%, 42%)
HSVhsv(217, 70%, 65%)
CMYKcmyk(69.9%, 43.4%, 0%, 34.9%)
CIE-LABlab(40.30, 9.52, -43.28)
CIE-LCHlch(40.30, 44.31, 282.40°)
OKLaboklab(48.83% -0.0223 -0.1236)
OKLCHoklch(48.83% 0.126 259.8)
XYZxyz(12.1986, 11.4354, 37.6334)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EA6 #A67A32
analogous
#3298A6 #325EA6 #4032A6
triadic
#325EA6 #A6325E #5EA632
tetradic
#325EA6 #A63298 #A67A32 #32A640
square
#325EA6 #A63298 #A67A32 #32A640
split-complementary
#325EA6 #A64032 #98A632
monochromatic
#162948 #244377 #325EA6 #4C7CC9 #7B9ED7

Accessibility & contrast

On white

6.39
#325EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #325EA6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EA6#FFFFFF#000000##FFFFFF
##325EA61.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325ea6;
/* rgb */ color: rgb(50, 94, 166);
/* oklch */ color: oklch(48.8% 0.126 259.8);
Tailwind
colors: {
  custom: {
    50: '#788bc1',
    500: '#325ea6',
    950: '#000000',
  },
}
SCSS
$custom: #325ea6;
$custom-light: #788bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#325ea6",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 217.241,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.12564,
    "h": 259.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#325EA6
secondary
#C0A374
accent
#A64BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #325EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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