#325178#325178

#325178 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.075 H 254.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#325178
RGBrgb(50, 81, 120)
HSLhsl(213, 41%, 33%)
HSVhsv(213, 58%, 47%)
CMYKcmyk(58.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.81, 1.14, -25.66)
CIE-LCHlch(33.81, 25.69, 272.54°)
OKLaboklab(42.94% -0.0196 -0.0723)
OKLCHoklch(42.94% 0.075 254.8)
XYZxyz(7.6468, 7.9184, 18.8911)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325178 #785932
analogous
#327478 #325178 #363278
triadic
#325178 #783251 #517832
tetradic
#325178 #783274 #785932 #327836
square
#325178 #783274 #785932 #327836
split-complementary
#325178 #783632 #747832
monochromatic
#0E1722 #20344D #325178 #446EA3 #658DBF

Accessibility & contrast

On white

8.13
#325178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #325178
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325178#FFFFFF#000000##FFFFFF
##3251781.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#015A5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #325178;
/* rgb */ color: rgb(50, 81, 120);
/* oklch */ color: oklch(42.9% 0.075 254.8);
Tailwind
colors: {
  custom: {
    50: '#70819f',
    500: '#325178',
    950: '#000000',
  },
}
SCSS
$custom: #325178;
$custom-light: #70819f;
$custom-dark: #000000;
JSON
{
  "hex": "#325178",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 213.429,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.07491,
    "h": 254.8
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#325178
secondary
#A7875F
accent
#9B57D1
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #325178

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

Preview Lab → · Contrast checker → · Palette generator →

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