#324786#324786

#324786 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.108 H 267.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#324786
RGBrgb(50, 71, 134)
HSLhsl(225, 46%, 36%)
HSVhsv(225, 63%, 53%)
CMYKcmyk(62.7%, 47%, 0%, 47.5%)
CIE-LABlab(31.59, 12.80, -37.86)
CIE-LCHlch(31.59, 39.97, 288.68°)
OKLaboklab(41.48% -0.0044 -0.1081)
OKLCHoklch(41.48% 0.108 267.7)
XYZxyz(7.8702, 6.9052, 23.4677)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324786 #867132
analogous
#327186 #324786 #473286
triadic
#324786 #863247 #478632
tetradic
#324786 #863271 #867132 #328647
square
#324786 #863271 #867132 #328647
split-complementary
#324786 #864732 #718632
monochromatic
#11182D #212F59 #324786 #435FB3 #6B82C8

Accessibility & contrast

On white

8.82
#324786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#324786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324786
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324786#FFFFFF#000000##FFFFFF
##3247861.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #324786;
/* rgb */ color: rgb(50, 71, 134);
/* oklch */ color: oklch(41.5% 0.108 267.7);
Tailwind
colors: {
  custom: {
    50: '#7279aa',
    500: '#324786',
    950: '#000000',
  },
}
SCSS
$custom: #324786;
$custom-light: #7279aa;
$custom-dark: #000000;
JSON
{
  "hex": "#324786",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 225,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.10815,
    "h": 267.7
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#324786
secondary
#AF9D64
accent
#B552D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #324786

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

Preview Lab → · Contrast checker → · Palette generator →

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