#324FB4#324FB4

#324FB4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.164 H 267.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#324FB4
RGBrgb(50, 79, 180)
HSLhsl(227, 57%, 45%)
HSVhsv(227, 72%, 71%)
CMYKcmyk(72.2%, 56.1%, 0%, 29.4%)
CIE-LABlab(37.05, 24.57, -56.81)
CIE-LCHlch(37.05, 61.89, 293.39°)
OKLaboklab(46.65% -0.0072 -0.1637)
OKLCHoklch(46.65% 0.164 267.5)
XYZxyz(12.3467, 9.5641, 44.3665)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324FB4 #B49732
analogous
#3290B4 #324FB4 #5632B4
triadic
#324FB4 #B4324F #4FB432
tetradic
#324FB4 #B43290 #B49732 #32B456
square
#324FB4 #B43290 #B49732 #32B456
split-complementary
#324FB4 #B45632 #90B432
monochromatic
#172554 #253A84 #324FB4 #546FCF #8498DD

Accessibility & contrast

On white

7.21
#324FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#324FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324FB4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324FB4#FFFFFF#000000##FFFFFF
##324FB41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #324fb4;
/* rgb */ color: rgb(50, 79, 180);
/* oklch */ color: oklch(46.6% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fcb',
    500: '#324fb4',
    950: '#000000',
  },
}
SCSS
$custom: #324fb4;
$custom-light: #7b7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#324fb4",
  "rgb": {
    "r": 50,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 226.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.16385,
    "h": 267.5
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#324FB4
secondary
#C6B67C
accent
#BE48E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #324FB4

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

Preview Lab → · Contrast checker → · Palette generator →

#324FB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva