#325181#325181

#325181 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.088 H 258.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#325181
RGBrgb(50, 81, 129)
HSLhsl(216, 44%, 35%)
HSVhsv(216, 61%, 51%)
CMYKcmyk(61.2%, 37.2%, 0%, 49.4%)
CIE-LABlab(34.29, 4.35, -30.49)
CIE-LCHlch(34.29, 30.79, 278.11°)
OKLaboklab(43.47% -0.017 -0.0863)
OKLCHoklch(43.47% 0.088 258.9)
XYZxyz(8.2189, 8.1472, 21.9041)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325181 #816232
analogous
#327881 #325181 #3B3281
triadic
#325181 #813251 #518132
tetradic
#325181 #813278 #816232 #32813B
square
#325181 #813278 #816232 #32813B
split-complementary
#325181 #813B32 #788132
monochromatic
#101A29 #213555 #325181 #436DAD #698DC5

Accessibility & contrast

On white

7.99
#325181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#325181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325181
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325181#FFFFFF#000000##FFFFFF
##3251811.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #325181;
/* rgb */ color: rgb(50, 81, 129);
/* oklch */ color: oklch(43.5% 0.088 258.9);
Tailwind
colors: {
  custom: {
    50: '#7181a6',
    500: '#325181',
    950: '#000000',
  },
}
SCSS
$custom: #325181;
$custom-light: #7181a6;
$custom-dark: #000000;
JSON
{
  "hex": "#325181",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 216.456,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.08799,
    "h": 258.9
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#325181
secondary
#AC8F62
accent
#A254D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #325181

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

Preview Lab → · Contrast checker → · Palette generator →

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