#324798#324798

#324798 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.135 H 269.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#324798
RGBrgb(50, 71, 152)
HSLhsl(228, 50%, 40%)
HSVhsv(228, 67%, 60%)
CMYKcmyk(67.1%, 53.3%, 0%, 40.4%)
CIE-LABlab(32.81, 19.46, -46.92)
CIE-LCHlch(32.81, 50.79, 292.53°)
OKLaboklab(42.8% -0.0021 -0.1347)
OKLCHoklch(42.8% 0.135 269.1)
XYZxyz(9.2342, 7.4507, 30.6512)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324798 #988332
analogous
#327A98 #324798 #503298
triadic
#324798 #983247 #479832
tetradic
#324798 #98327A #988332 #329850
square
#324798 #98327A #988332 #329850
split-complementary
#324798 #985032 #7A9832
monochromatic
#141C3C #23316A #324798 #455FC2 #7387D1

Accessibility & contrast

On white

8.43
#324798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#324798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324798
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324798#FFFFFF#000000##FFFFFF
##3247981.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #324798;
/* rgb */ color: rgb(50, 71, 152);
/* oklch */ color: oklch(42.8% 0.135 269.1);
Tailwind
colors: {
  custom: {
    50: '#7679b7',
    500: '#324798',
    950: '#000000',
  },
}
SCSS
$custom: #324798;
$custom-light: #7679b7;
$custom-dark: #000000;
JSON
{
  "hex": "#324798",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 227.647,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.13472,
    "h": 269.1
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#324798
secondary
#B9A96D
accent
#BD4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #324798

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

Preview Lab → · Contrast checker → · Palette generator →

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