#323FAF#323FAF

#323FAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.177 H 271.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#323FAF
RGBrgb(50, 63, 175)
HSLhsl(234, 56%, 44%)
HSVhsv(234, 71%, 69%)
CMYKcmyk(71.4%, 64%, 0%, 31.4%)
CIE-LABlab(32.54, 33.16, -61.19)
CIE-LCHlch(32.54, 69.60, 298.45°)
OKLaboklab(43.17% 0.0049 -0.1767)
OKLCHoklch(43.17% 0.177 271.6)
XYZxyz(10.8281, 7.3272, 41.3928)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FAF #AFA232
analogous
#327EAF #323FAF #6432AF
triadic
#323FAF #AF323F #3FAF32
tetradic
#323FAF #AF327E #AFA232 #32AF64
square
#323FAF #AF327E #AFA232 #32AF64
split-complementary
#323FAF #AF6432 #7EAF32
monochromatic
#171D50 #242E7F #323FAF #515ECD #818ADB

Accessibility & contrast

On white

8.52
#323FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#323FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FAF
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FAF#FFFFFF#000000##FFFFFF
##323FAF1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323faf;
/* rgb */ color: rgb(50, 63, 175);
/* oklch */ color: oklch(43.2% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b74c8',
    500: '#323faf',
    950: '#000000',
  },
}
SCSS
$custom: #323faf;
$custom-light: #7b74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323faf",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 233.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.17681,
    "h": 271.6
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#323FAF
secondary
#C4BC79
accent
#CF49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#323FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva