#324387#324387

#324387 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.7% C 0.115 H 270.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#324387
RGBrgb(50, 67, 135)
HSLhsl(228, 46%, 36%)
HSVhsv(228, 63%, 53%)
CMYKcmyk(63%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.50, 15.87, -40.23)
CIE-LCHlch(30.50, 43.25, 291.53°)
OKLaboklab(40.67% 0.0001 -0.1151)
OKLCHoklch(40.67% 0.115 270.1)
XYZxyz(7.6943, 6.4410, 23.7547)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324387 #877632
analogous
#326E87 #324387 #4C3287
triadic
#324387 #873243 #438732
tetradic
#324387 #87326E #877632 #32874C
square
#324387 #87326E #877632 #32874C
split-complementary
#324387 #874C32 #6E8732
monochromatic
#11172E #212D5A #324387 #4359B4 #6B7EC8

Accessibility & contrast

On white

9.18
#324387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#324387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324387
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324387#FFFFFF#000000##FFFFFF
##3243871.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #324387;
/* rgb */ color: rgb(50, 67, 135);
/* oklch */ color: oklch(40.7% 0.115 270.1);
Tailwind
colors: {
  custom: {
    50: '#7376aa',
    500: '#324387',
    950: '#000000',
  },
}
SCSS
$custom: #324387;
$custom-light: #7376aa;
$custom-dark: #000000;
JSON
{
  "hex": "#324387",
  "rgb": {
    "r": 50,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 228,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.11508,
    "h": 270.1
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#324387
secondary
#B0A165
accent
#BB52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #324387

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

Preview Lab → · Contrast checker → · Palette generator →

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