#324787#324787

#324787 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.6% C 0.110 H 267.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#324787
RGBrgb(50, 71, 135)
HSLhsl(225, 46%, 36%)
HSVhsv(225, 63%, 53%)
CMYKcmyk(63%, 47.4%, 0%, 47.1%)
CIE-LABlab(31.65, 13.17, -38.38)
CIE-LCHlch(31.65, 40.57, 288.94°)
OKLaboklab(41.55% -0.0042 -0.1096)
OKLCHoklch(41.55% 0.11 267.8)
XYZxyz(7.9403, 6.9332, 23.8368)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324787 #877232
analogous
#327287 #324787 #483287
triadic
#324787 #873247 #478732
tetradic
#324787 #873272 #877232 #328748
square
#324787 #873272 #877232 #328748
split-complementary
#324787 #874832 #728732
monochromatic
#11182E #21305A #324787 #435EB4 #6B82C8

Accessibility & contrast

On white

8.80
#324787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#324787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324787
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324787#FFFFFF#000000##FFFFFF
##3247871.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F89
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #324787;
/* rgb */ color: rgb(50, 71, 135);
/* oklch */ color: oklch(41.6% 0.110 267.8);
Tailwind
colors: {
  custom: {
    50: '#7279aa',
    500: '#324787',
    950: '#000000',
  },
}
SCSS
$custom: #324787;
$custom-light: #7279aa;
$custom-dark: #000000;
JSON
{
  "hex": "#324787",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 225.176,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.10966,
    "h": 267.8
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#324787
secondary
#B09D65
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #324787

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

Preview Lab → · Contrast checker → · Palette generator →

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