#324795#324795

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

Color values

HEX#324795
RGBrgb(50, 71, 149)
HSLhsl(227, 50%, 39%)
HSVhsv(227, 66%, 58%)
CMYKcmyk(66.4%, 52.3%, 0%, 41.6%)
CIE-LABlab(32.60, 18.35, -45.44)
CIE-LCHlch(32.60, 49.00, 291.99°)
OKLaboklab(42.57% -0.0024 -0.1303)
OKLCHoklch(42.57% 0.13 268.9)
XYZxyz(8.9916, 7.3537, 29.3735)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324795 #958032
analogous
#327995 #324795 #4F3295
triadic
#324795 #953247 #479532
tetradic
#324795 #953279 #958032 #32954F
square
#324795 #953279 #958032 #32954F
split-complementary
#324795 #954F32 #799532
monochromatic
#131B39 #233167 #324795 #445EC0 #7286D0

Accessibility & contrast

On white

8.50
#324795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#324795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324795
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324795#FFFFFF#000000##FFFFFF
##3247951.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #324795;
/* rgb */ color: rgb(50, 71, 149);
/* oklch */ color: oklch(42.6% 0.130 268.9);
Tailwind
colors: {
  custom: {
    50: '#7579b5',
    500: '#324795',
    950: '#000000',
  },
}
SCSS
$custom: #324795;
$custom-light: #7579b5;
$custom-dark: #000000;
JSON
{
  "hex": "#324795",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 227.273,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.13037,
    "h": 268.9
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#324795
secondary
#B8A76B
accent
#BC4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #324795

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

Preview Lab → · Contrast checker → · Palette generator →

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