#324298#324298

#324298 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.141 H 271.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#324298
RGBrgb(50, 66, 152)
HSLhsl(231, 50%, 40%)
HSVhsv(231, 67%, 60%)
CMYKcmyk(67.1%, 56.6%, 0%, 40.4%)
CIE-LABlab(31.44, 22.81, -49.14)
CIE-LCHlch(31.44, 54.17, 294.90°)
OKLaboklab(41.77% 0.0026 -0.1413)
OKLCHoklch(41.77% 0.141 271)
XYZxyz(8.9292, 6.8407, 30.5495)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324298 #988832
analogous
#327598 #324298 #553298
triadic
#324298 #983242 #429832
tetradic
#324298 #983275 #988832 #329855
square
#324298 #983275 #988832 #329855
split-complementary
#324298 #985532 #759832
monochromatic
#141A3C #232E6A #324298 #4559C2 #7382D1

Accessibility & contrast

On white

8.87
#324298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#324298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324298
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324298#FFFFFF#000000##FFFFFF
##3242981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #324298;
/* rgb */ color: rgb(50, 66, 152);
/* oklch */ color: oklch(41.8% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#7676b7',
    500: '#324298',
    950: '#000000',
  },
}
SCSS
$custom: #324298;
$custom-light: #7676b7;
$custom-dark: #000000;
JSON
{
  "hex": "#324298",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 230.588,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.14132,
    "h": 271
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#324298
secondary
#B9AD6D
accent
#C44EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #324298

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

Preview Lab → · Contrast checker → · Palette generator →

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