#324C87#324C87

#324C87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.103 H 264.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#324C87
RGBrgb(50, 76, 135)
HSLhsl(222, 46%, 36%)
HSVhsv(222, 63%, 53%)
CMYKcmyk(63%, 43.7%, 0%, 47.1%)
CIE-LABlab(33.13, 9.82, -36.02)
CIE-LCHlch(33.13, 37.34, 285.25°)
OKLaboklab(42.68% -0.0098 -0.1026)
OKLCHoklch(42.68% 0.103 264.5)
XYZxyz(8.2715, 7.5955, 23.9472)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324C87 #876D32
analogous
#327787 #324C87 #433287
triadic
#324C87 #87324C #4C8732
tetradic
#324C87 #873277 #876D32 #328743
square
#324C87 #873277 #876D32 #328743
split-complementary
#324C87 #874332 #778732
monochromatic
#111A2E #21335A #324C87 #4365B4 #6B88C8

Accessibility & contrast

On white

8.34
#324C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#324C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324C87
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324C87#FFFFFF#000000##FFFFFF
##324C871.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #324c87;
/* rgb */ color: rgb(50, 76, 135);
/* oklch */ color: oklch(42.7% 0.103 264.5);
Tailwind
colors: {
  custom: {
    50: '#727daa',
    500: '#324c87',
    950: '#000000',
  },
}
SCSS
$custom: #324c87;
$custom-light: #727daa;
$custom-dark: #000000;
JSON
{
  "hex": "#324c87",
  "rgb": {
    "r": 50,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 221.647,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42681,
    "c": 0.10307,
    "h": 264.5
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#324C87
secondary
#B09965
accent
#AD52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #324C87

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

Preview Lab → · Contrast checker → · Palette generator →

#324C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva