#324FB1#324FB1

#324FB1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.160 H 267.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#324FB1
RGBrgb(50, 79, 177)
HSLhsl(226, 56%, 45%)
HSVhsv(226, 72%, 69%)
CMYKcmyk(71.8%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.82, 23.45, -55.40)
CIE-LCHlch(36.82, 60.16, 292.94°)
OKLaboklab(46.41% -0.0074 -0.1595)
OKLCHoklch(46.41% 0.16 267.4)
XYZxyz(12.0444, 9.4432, 42.7744)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324FB1 #B19432
analogous
#328FB1 #324FB1 #5432B1
triadic
#324FB1 #B1324F #4FB132
tetradic
#324FB1 #B1328F #B19432 #32B154
square
#324FB1 #B1328F #B19432 #32B154
split-complementary
#324FB1 #B15432 #8FB132
monochromatic
#172452 #253A81 #324FB1 #526ECE #8296DC

Accessibility & contrast

On white

7.27
#324FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#324FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324FB1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324FB1#FFFFFF#000000##FFFFFF
##324FB11.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #324fb1;
/* rgb */ color: rgb(50, 79, 177);
/* oklch */ color: oklch(46.4% 0.160 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b7fc9',
    500: '#324fb1',
    950: '#000000',
  },
}
SCSS
$custom: #324fb1;
$custom-light: #7b7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#324fb1",
  "rgb": {
    "r": 50,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 226.299,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.15971,
    "h": 267.4
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#324FB1
secondary
#C5B47A
accent
#BD49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #324FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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