#324271#324271

#324271 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.083 H 268.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#324271
RGBrgb(50, 66, 113)
HSLhsl(225, 39%, 32%)
HSVhsv(225, 56%, 44%)
CMYKcmyk(55.8%, 41.6%, 0%, 55.7%)
CIE-LABlab(28.82, 8.57, -29.15)
CIE-LCHlch(28.82, 30.39, 286.39°)
OKLaboklab(38.93% -0.0026 -0.0826)
OKLCHoklch(38.93% 0.083 268.2)
XYZxyz(6.2433, 5.7664, 16.4036)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324271 #716132
analogous
#326271 #324271 #423271
triadic
#324271 #713242 #427132
tetradic
#324271 #713262 #716132 #327142
square
#324271 #713262 #716132 #327142
split-complementary
#324271 #714232 #627132
monochromatic
#0C101C #1F2947 #324271 #455B9B #6379BA

Accessibility & contrast

On white

9.75
#324271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#324271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324271
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324271#FFFFFF#000000##FFFFFF
##3242711.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#284170
Tritanopia (blue-blind)
#134C54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #324271;
/* rgb */ color: rgb(50, 66, 113);
/* oklch */ color: oklch(38.9% 0.083 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f769a',
    500: '#324271',
    950: '#000000',
  },
}
SCSS
$custom: #324271;
$custom-light: #6f769a;
$custom-dark: #000000;
JSON
{
  "hex": "#324271",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 224.762,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.08262,
    "h": 268.2
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#324271
secondary
#A2905D
accent
#B159CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #324271

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

Preview Lab → · Contrast checker → · Palette generator →

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