#324397#324397

#324397 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.139 H 270.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#324397
RGBrgb(50, 67, 151)
HSLhsl(230, 50%, 39%)
HSVhsv(230, 67%, 59%)
CMYKcmyk(66.9%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.64, 21.77, -48.21)
CIE-LCHlch(31.64, 52.90, 294.30°)
OKLaboklab(41.9% 0.0016 -0.1386)
OKLCHoklch(41.9% 0.139 270.7)
XYZxyz(8.9066, 6.9260, 30.1396)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324397 #978632
analogous
#327697 #324397 #543297
triadic
#324397 #973243 #439732
tetradic
#324397 #973276 #978632 #329754
square
#324397 #973276 #978632 #329754
split-complementary
#324397 #975432 #769732
monochromatic
#141A3B #232F69 #324397 #455AC1 #7383D1

Accessibility & contrast

On white

8.80
#324397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #324397
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324397#FFFFFF#000000##FFFFFF
##3243971.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #324397;
/* rgb */ color: rgb(50, 67, 151);
/* oklch */ color: oklch(41.9% 0.139 270.7);
Tailwind
colors: {
  custom: {
    50: '#7676b6',
    500: '#324397',
    950: '#000000',
  },
}
SCSS
$custom: #324397;
$custom-light: #7676b6;
$custom-dark: #000000;
JSON
{
  "hex": "#324397",
  "rgb": {
    "r": 50,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 229.901,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.13857,
    "h": 270.7
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#324397
secondary
#B9AC6C
accent
#C24EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #324397

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

Preview Lab → · Contrast checker → · Palette generator →

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