#324EA6#324EA6

#324EA6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.146 H 267.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#324EA6
RGBrgb(50, 78, 166)
HSLhsl(226, 54%, 42%)
HSVhsv(226, 70%, 65%)
CMYKcmyk(69.9%, 53%, 0%, 34.9%)
CIE-LABlab(35.75, 20.01, -50.60)
CIE-LCHlch(35.75, 54.41, 291.58°)
OKLaboklab(45.34% -0.0074 -0.1454)
OKLCHoklch(45.34% 0.146 267.1)
XYZxyz(10.9203, 8.8790, 37.2073)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324EA6 #A68A32
analogous
#3288A6 #324EA6 #5032A6
triadic
#324EA6 #A6324E #4EA632
tetradic
#324EA6 #A63288 #A68A32 #32A650
square
#324EA6 #A63288 #A68A32 #32A650
split-complementary
#324EA6 #A65032 #88A632
monochromatic
#162248 #243877 #324EA6 #4C6AC9 #7B91D7

Accessibility & contrast

On white

7.56
#324EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#324EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324EA6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324EA6#FFFFFF#000000##FFFFFF
##324EA61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AA9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #324ea6;
/* rgb */ color: rgb(50, 78, 166);
/* oklch */ color: oklch(45.3% 0.146 267.1);
Tailwind
colors: {
  custom: {
    50: '#787fc1',
    500: '#324ea6',
    950: '#000000',
  },
}
SCSS
$custom: #324ea6;
$custom-light: #787fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#324ea6",
  "rgb": {
    "r": 50,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 225.517,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45343,
    "c": 0.14562,
    "h": 267.1
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#324EA6
secondary
#C0AE74
accent
#BA4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #324EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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