#324178#324178

#324178 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.095 H 270.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#324178
RGBrgb(50, 65, 120)
HSLhsl(227, 41%, 33%)
HSVhsv(227, 58%, 47%)
CMYKcmyk(58.3%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.94, 11.75, -33.37)
CIE-LCHlch(28.94, 35.38, 289.40°)
OKLaboklab(39.17% 0.0001 -0.095)
OKLCHoklch(39.17% 0.095 270.1)
XYZxyz(6.5947, 5.8143, 18.5404)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324178 #786932
analogous
#326478 #324178 #463278
triadic
#324178 #783241 #417832
tetradic
#324178 #783264 #786932 #327846
square
#324178 #783264 #786932 #327846
split-complementary
#324178 #784632 #647832
monochromatic
#0E1222 #202A4D #324178 #4458A3 #6579BF

Accessibility & contrast

On white

9.71
#324178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#324178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324178
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324178#FFFFFF#000000##FFFFFF
##3241781.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#084D56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #324178;
/* rgb */ color: rgb(50, 65, 120);
/* oklch */ color: oklch(39.2% 0.095 270.1);
Tailwind
colors: {
  custom: {
    50: '#70759f',
    500: '#324178',
    950: '#000000',
  },
}
SCSS
$custom: #324178;
$custom-light: #70759f;
$custom-dark: #000000;
JSON
{
  "hex": "#324178",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 227.143,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.09496,
    "h": 270.1
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#324178
secondary
#A7975F
accent
#B757D1
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #324178

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

Preview Lab → · Contrast checker → · Palette generator →

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