#324EA8#324EA8

#324EA8 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.148 H 267.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#324EA8
RGBrgb(50, 78, 168)
HSLhsl(226, 54%, 43%)
HSVhsv(226, 70%, 66%)
CMYKcmyk(70.2%, 53.6%, 0%, 34.1%)
CIE-LABlab(35.89, 20.76, -51.56)
CIE-LCHlch(35.89, 55.58, 291.93°)
OKLaboklab(45.5% -0.0072 -0.1483)
OKLCHoklch(45.5% 0.148 267.2)
XYZxyz(11.1052, 8.9529, 38.1810)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324EA8 #A88C32
analogous
#3289A8 #324EA8 #5132A8
triadic
#324EA8 #A8324E #4EA832
tetradic
#324EA8 #A83289 #A88C32 #32A851
square
#324EA8 #A83289 #A88C32 #32A851
split-complementary
#324EA8 #A85132 #89A832
monochromatic
#16224A #243879 #324EA8 #4D6BCA #7C92D8

Accessibility & contrast

On white

7.52
#324EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#324EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324EA8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324EA8#FFFFFF#000000##FFFFFF
##324EA81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #324ea8;
/* rgb */ color: rgb(50, 78, 168);
/* oklch */ color: oklch(45.5% 0.148 267.2);
Tailwind
colors: {
  custom: {
    50: '#797fc2',
    500: '#324ea8',
    950: '#000000',
  },
}
SCSS
$custom: #324ea8;
$custom-light: #797fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#324ea8",
  "rgb": {
    "r": 50,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 225.763,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.14844,
    "h": 267.2
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#324EA8
secondary
#C1AF75
accent
#BB4ADD
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #324EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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