#324287#324287

#324287 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.5% C 0.116 H 270.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#324287
RGBrgb(50, 66, 135)
HSLhsl(229, 46%, 36%)
HSVhsv(229, 63%, 53%)
CMYKcmyk(63%, 51.1%, 0%, 47.1%)
CIE-LABlab(30.21, 16.54, -40.69)
CIE-LCHlch(30.21, 43.92, 292.13°)
OKLaboklab(40.46% 0.0012 -0.1164)
OKLCHoklch(40.46% 0.116 270.6)
XYZxyz(7.6353, 6.3232, 23.7351)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324287 #877732
analogous
#326D87 #324287 #4D3287
triadic
#324287 #873242 #428732
tetradic
#324287 #87326D #877732 #32874D
square
#324287 #87326D #877732 #32874D
split-complementary
#324287 #874D32 #6D8732
monochromatic
#11162E #212C5A #324287 #4358B4 #6B7DC8

Accessibility & contrast

On white

9.27
#324287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#324287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324287
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324287#FFFFFF#000000##FFFFFF
##3242871.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #324287;
/* rgb */ color: rgb(50, 66, 135);
/* oklch */ color: oklch(40.5% 0.116 270.6);
Tailwind
colors: {
  custom: {
    50: '#7376aa',
    500: '#324287',
    950: '#000000',
  },
}
SCSS
$custom: #324287;
$custom-light: #7376aa;
$custom-dark: #000000;
JSON
{
  "hex": "#324287",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 228.706,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.11645,
    "h": 270.6
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#324287
secondary
#B0A265
accent
#BD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #324287

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

Preview Lab → · Contrast checker → · Palette generator →

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