#324796#324796

#324796 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.132 H 269.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#324796
RGBrgb(50, 71, 150)
HSLhsl(227, 50%, 39%)
HSVhsv(227, 67%, 59%)
CMYKcmyk(66.7%, 52.7%, 0%, 41.2%)
CIE-LABlab(32.67, 18.72, -45.93)
CIE-LCHlch(32.67, 49.60, 292.17°)
OKLaboklab(42.65% -0.0023 -0.1318)
OKLCHoklch(42.65% 0.132 269)
XYZxyz(9.0718, 7.3858, 29.7958)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324796 #968132
analogous
#327996 #324796 #4F3296
triadic
#324796 #963247 #479632
tetradic
#324796 #963279 #968132 #32964F
square
#324796 #963279 #968132 #32964F
split-complementary
#324796 #964F32 #799632
monochromatic
#131C3A #233168 #324796 #445FC1 #7286D0

Accessibility & contrast

On white

8.48
#324796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#324796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324796
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324796#FFFFFF#000000##FFFFFF
##3247961.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #324796;
/* rgb */ color: rgb(50, 71, 150);
/* oklch */ color: oklch(42.6% 0.132 269.0);
Tailwind
colors: {
  custom: {
    50: '#7579b5',
    500: '#324796',
    950: '#000000',
  },
}
SCSS
$custom: #324796;
$custom-light: #7579b5;
$custom-dark: #000000;
JSON
{
  "hex": "#324796",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 227.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.13182,
    "h": 269
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#324796
secondary
#B8A86C
accent
#BC4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #324796

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

Preview Lab → · Contrast checker → · Palette generator →

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