#325EA8#325EA8

#325EA8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.128 H 260.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#325EA8
RGBrgb(50, 94, 168)
HSLhsl(218, 54%, 43%)
HSVhsv(218, 70%, 66%)
CMYKcmyk(70.2%, 44%, 0%, 34.1%)
CIE-LABlab(40.43, 10.26, -44.27)
CIE-LCHlch(40.43, 45.45, 283.05°)
OKLaboklab(48.96% -0.022 -0.1265)
OKLCHoklch(48.96% 0.128 260.2)
XYZxyz(12.3834, 11.5094, 38.6071)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EA8 #A87C32
analogous
#3299A8 #325EA8 #4132A8
triadic
#325EA8 #A8325E #5EA832
tetradic
#325EA8 #A83299 #A87C32 #32A841
square
#325EA8 #A83299 #A87C32 #32A841
split-complementary
#325EA8 #A84132 #99A832
monochromatic
#16294A #244479 #325EA8 #4D7CCA #7C9FD8

Accessibility & contrast

On white

6.36
#325EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#325EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EA8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EA8#FFFFFF#000000##FFFFFF
##325EA81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325ea8;
/* rgb */ color: rgb(50, 94, 168);
/* oklch */ color: oklch(49.0% 0.128 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc2',
    500: '#325ea8',
    950: '#000000',
  },
}
SCSS
$custom: #325ea8;
$custom-light: #788bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#325ea8",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 217.627,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.12844,
    "h": 260.2
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#325EA8
secondary
#C1A575
accent
#A74ADD
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #325EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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