#324381#324381

#324381 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.106 H 269.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#324381
RGBrgb(50, 67, 129)
HSLhsl(227, 44%, 35%)
HSVhsv(227, 61%, 51%)
CMYKcmyk(61.2%, 48.1%, 0%, 49.4%)
CIE-LABlab(30.10, 13.67, -37.15)
CIE-LCHlch(30.10, 39.58, 290.20°)
OKLaboklab(40.24% -0.0007 -0.106)
OKLCHoklch(40.24% 0.106 269.6)
XYZxyz(7.2837, 6.2768, 21.5923)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324381 #817032
analogous
#326A81 #324381 #493281
triadic
#324381 #813243 #438132
tetradic
#324381 #81326A #817032 #328149
square
#324381 #81326A #817032 #328149
split-complementary
#324381 #814932 #6A8132
monochromatic
#101529 #212C55 #324381 #435AAD #697CC5

Accessibility & contrast

On white

9.31
#324381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#324381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324381
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324381#FFFFFF#000000##FFFFFF
##3243811.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #324381;
/* rgb */ color: rgb(50, 67, 129);
/* oklch */ color: oklch(40.2% 0.106 269.6);
Tailwind
colors: {
  custom: {
    50: '#7176a6',
    500: '#324381',
    950: '#000000',
  },
}
SCSS
$custom: #324381;
$custom-light: #7176a6;
$custom-dark: #000000;
JSON
{
  "hex": "#324381",
  "rgb": {
    "r": 50,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 227.089,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.10602,
    "h": 269.6
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#324381
secondary
#AC9C62
accent
#B854D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #324381

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

Preview Lab → · Contrast checker → · Palette generator →

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