#323AAF#323AAF

#323AAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.183 H 272.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#323AAF
RGBrgb(50, 58, 175)
HSLhsl(236, 56%, 44%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(71.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.34, 36.33, -63.15)
CIE-LCHlch(31.34, 72.86, 299.91°)
OKLaboklab(42.3% 0.0083 -0.1825)
OKLCHoklch(42.3% 0.183 272.6)
XYZxyz(10.5637, 6.7983, 41.3046)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AAF #AFA732
analogous
#3279AF #323AAF #6932AF
triadic
#323AAF #AF323A #3AAF32
tetradic
#323AAF #AF3279 #AFA732 #32AF69
square
#323AAF #AF3279 #AFA732 #32AF69
split-complementary
#323AAF #AF6932 #79AF32
monochromatic
#171A50 #242A7F #323AAF #5159CD #8186DB

Accessibility & contrast

On white

8.90
#323AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#323AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AAF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AAF#FFFFFF#000000##FFFFFF
##323AAF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323aaf;
/* rgb */ color: rgb(50, 58, 175);
/* oklch */ color: oklch(42.3% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c70c8',
    500: '#323aaf',
    950: '#000000',
  },
}
SCSS
$custom: #323aaf;
$custom-light: #7c70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323aaf",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 236.16,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.1827,
    "h": 272.6
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#323AAF
secondary
#C4BF79
accent
#D549DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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