#324181#324181

#324181 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.8% C 0.109 H 270.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#324181
RGBrgb(50, 65, 129)
HSLhsl(229, 44%, 35%)
HSVhsv(229, 61%, 51%)
CMYKcmyk(61.2%, 49.6%, 0%, 49.4%)
CIE-LABlab(29.52, 15.02, -38.08)
CIE-LCHlch(29.52, 40.93, 291.53°)
OKLaboklab(39.8% 0.0016 -0.1088)
OKLCHoklch(39.8% 0.109 270.8)
XYZxyz(7.1668, 6.0431, 21.5534)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324181 #817232
analogous
#326881 #324181 #4B3281
triadic
#324181 #813241 #418132
tetradic
#324181 #813268 #817232 #32814B
square
#324181 #813268 #817232 #32814B
split-complementary
#324181 #814B32 #688132
monochromatic
#101529 #212B55 #324181 #4357AD #697AC5

Accessibility & contrast

On white

9.51
#324181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#324181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324181
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324181#FFFFFF#000000##FFFFFF
##3241811.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #324181;
/* rgb */ color: rgb(50, 65, 129);
/* oklch */ color: oklch(39.8% 0.109 270.8);
Tailwind
colors: {
  custom: {
    50: '#7275a6',
    500: '#324181',
    950: '#000000',
  },
}
SCSS
$custom: #324181;
$custom-light: #7275a6;
$custom-dark: #000000;
JSON
{
  "hex": "#324181",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 228.608,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.10878,
    "h": 270.8
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#324181
secondary
#AC9E62
accent
#BC54D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #324181

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

Preview Lab → · Contrast checker → · Palette generator →

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