#324398#324398

#324398 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.140 H 270.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#324398
RGBrgb(50, 67, 152)
HSLhsl(230, 50%, 40%)
HSVhsv(230, 67%, 60%)
CMYKcmyk(67.1%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.71, 22.14, -48.70)
CIE-LCHlch(31.71, 53.49, 294.45°)
OKLaboklab(41.98% 0.0016 -0.14)
OKLCHoklch(41.98% 0.14 270.7)
XYZxyz(8.9881, 6.9586, 30.5692)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324398 #988732
analogous
#327698 #324398 #543298
triadic
#324398 #983243 #439832
tetradic
#324398 #983276 #988732 #329854
square
#324398 #983276 #988732 #329854
split-complementary
#324398 #985432 #769832
monochromatic
#141A3C #232F6A #324398 #455AC2 #7383D1

Accessibility & contrast

On white

8.78
#324398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#324398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324398
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324398#FFFFFF#000000##FFFFFF
##3243981.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #324398;
/* rgb */ color: rgb(50, 67, 152);
/* oklch */ color: oklch(42.0% 0.140 270.7);
Tailwind
colors: {
  custom: {
    50: '#7676b7',
    500: '#324398',
    950: '#000000',
  },
}
SCSS
$custom: #324398;
$custom-light: #7676b7;
$custom-dark: #000000;
JSON
{
  "hex": "#324398",
  "rgb": {
    "r": 50,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 230,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.14,
    "h": 270.7
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#324398
secondary
#B9AC6D
accent
#C34EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #324398

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

Preview Lab → · Contrast checker → · Palette generator →

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