#323A8F#323A8F

#323A8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.139 H 274.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#323A8F
RGBrgb(50, 58, 143)
HSLhsl(235, 48%, 38%)
HSVhsv(235, 65%, 56%)
CMYKcmyk(65%, 59.4%, 0%, 43.9%)
CIE-LABlab(28.61, 24.86, -48.22)
CIE-LCHlch(28.61, 54.26, 297.27°)
OKLaboklab(39.44% 0.0098 -0.1387)
OKLCHoklch(39.44% 0.139 274)
XYZxyz(7.7847, 5.6867, 26.6687)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A8F #8F8732
analogous
#32688F #323A8F #59328F
triadic
#323A8F #8F323A #3A8F32
tetradic
#323A8F #8F3268 #8F8732 #328F59
square
#323A8F #8F3268 #8F8732 #328F59
split-complementary
#323A8F #8F5932 #688F32
monochromatic
#121534 #222862 #323A8F #424CBC #6F77CD

Accessibility & contrast

On white

9.83
#323A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#323A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A8F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A8F#FFFFFF#000000##FFFFFF
##323A8F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323a8f;
/* rgb */ color: rgb(50, 58, 143);
/* oklch */ color: oklch(39.4% 0.139 274.0);
Tailwind
colors: {
  custom: {
    50: '#7570b0',
    500: '#323a8f',
    950: '#000000',
  },
}
SCSS
$custom: #323a8f;
$custom-light: #7570b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323a8f",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 234.839,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.13906,
    "h": 274
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#323A8F
secondary
#B4AE68
accent
#CC50D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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