#324771#324771

#324771 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.076 H 263.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#324771
RGBrgb(50, 71, 113)
HSLhsl(220, 39%, 32%)
HSVhsv(220, 56%, 44%)
CMYKcmyk(55.8%, 37.2%, 0%, 55.7%)
CIE-LABlab(30.34, 5.22, -26.74)
CIE-LCHlch(30.34, 27.24, 281.05°)
OKLaboklab(40.12% -0.009 -0.0755)
OKLCHoklch(40.12% 0.076 263.2)
XYZxyz(6.5483, 6.3764, 16.5053)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324771 #715C32
analogous
#326771 #324771 #3D3271
triadic
#324771 #713247 #477132
tetradic
#324771 #713267 #715C32 #32713D
square
#324771 #713267 #715C32 #32713D
split-complementary
#324771 #713D32 #677132
monochromatic
#0C121C #1F2C47 #324771 #45629B #6380BA

Accessibility & contrast

On white

9.23
#324771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#324771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324771
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324771#FFFFFF#000000##FFFFFF
##3247711.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#115056
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #324771;
/* rgb */ color: rgb(50, 71, 113);
/* oklch */ color: oklch(40.1% 0.076 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f799a',
    500: '#324771',
    950: '#000000',
  },
}
SCSS
$custom: #324771;
$custom-light: #6f799a;
$custom-dark: #000000;
JSON
{
  "hex": "#324771",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.07602,
    "h": 263.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#324771
secondary
#A28B5D
accent
#A759CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #324771

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

Preview Lab → · Contrast checker → · Palette generator →

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