#325271#325271

#325271 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.064 H 248.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#325271
RGBrgb(50, 82, 113)
HSLhsl(210, 39%, 32%)
HSVhsv(210, 56%, 44%)
CMYKcmyk(55.8%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.78, -1.93, -21.35)
CIE-LCHlch(33.78, 21.44, 264.84°)
OKLaboklab(42.81% -0.0232 -0.0598)
OKLCHoklch(42.81% 0.064 248.8)
XYZxyz(7.3123, 7.9044, 16.7599)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325271 #715132
analogous
#327171 #325271 #323371
triadic
#325271 #713252 #527132
tetradic
#325271 #713271 #715132 #337132
square
#325271 #713271 #715132 #337132
split-complementary
#325271 #713233 #717132
monochromatic
#0C141C #1F3347 #325271 #45719B #638FBA

Accessibility & contrast

On white

8.14
#325271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#325271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325271
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325271#FFFFFF#000000##FFFFFF
##3252711.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#3D4D70
Tritanopia (blue-blind)
#0D595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #325271;
/* rgb */ color: rgb(50, 82, 113);
/* oklch */ color: oklch(42.8% 0.064 248.8);
Tailwind
colors: {
  custom: {
    50: '#6f829a',
    500: '#325271',
    950: '#000000',
  },
}
SCSS
$custom: #325271;
$custom-light: #6f829a;
$custom-dark: #000000;
JSON
{
  "hex": "#325271",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 209.524,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.06416,
    "h": 248.8
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#325271
secondary
#A27F5D
accent
#9359CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #325271

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

Preview Lab → · Contrast checker → · Palette generator →

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