#324871#324871

#324871 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.075 H 262.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#324871
RGBrgb(50, 72, 113)
HSLhsl(219, 39%, 32%)
HSVhsv(219, 56%, 44%)
CMYKcmyk(55.8%, 36.3%, 0%, 55.7%)
CIE-LABlab(30.65, 4.56, -26.25)
CIE-LCHlch(30.65, 26.64, 279.85°)
OKLaboklab(40.36% -0.0103 -0.0741)
OKLCHoklch(40.36% 0.075 262.1)
XYZxyz(6.6124, 6.5046, 16.5267)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324871 #715B32
analogous
#326871 #324871 #3C3271
triadic
#324871 #713248 #487132
tetradic
#324871 #713268 #715B32 #32713C
square
#324871 #713268 #715B32 #32713C
split-complementary
#324871 #713C32 #687132
monochromatic
#0C121C #1F2D47 #324871 #45639B #6382BA

Accessibility & contrast

On white

9.13
#324871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#324871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324871
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324871#FFFFFF#000000##FFFFFF
##3248711.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B73
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#115157
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #324871;
/* rgb */ color: rgb(50, 72, 113);
/* oklch */ color: oklch(40.4% 0.075 262.1);
Tailwind
colors: {
  custom: {
    50: '#6f7a9a',
    500: '#324871',
    950: '#000000',
  },
}
SCSS
$custom: #324871;
$custom-light: #6f7a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#324871",
  "rgb": {
    "r": 50,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 219.048,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.07478,
    "h": 262.1
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#324871
secondary
#A28A5D
accent
#A659CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #324871

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

Preview Lab → · Contrast checker → · Palette generator →

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