#323B8F#323B8F

#323B8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.138 H 273.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#323B8F
RGBrgb(50, 59, 143)
HSLhsl(234, 48%, 38%)
HSVhsv(234, 65%, 56%)
CMYKcmyk(65%, 58.7%, 0%, 43.9%)
CIE-LABlab(28.87, 24.20, -47.79)
CIE-LCHlch(28.87, 53.57, 296.85°)
OKLaboklab(39.63% 0.0089 -0.1374)
OKLCHoklch(39.63% 0.138 273.7)
XYZxyz(7.8356, 5.7885, 26.6857)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B8F #8F8632
analogous
#32698F #323B8F #58328F
triadic
#323B8F #8F323B #3B8F32
tetradic
#323B8F #8F3269 #8F8632 #328F58
square
#323B8F #8F3269 #8F8632 #328F58
split-complementary
#323B8F #8F5832 #698F32
monochromatic
#121634 #222862 #323B8F #424EBC #6F78CD

Accessibility & contrast

On white

9.73
#323B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#323B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B8F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B8F#FFFFFF#000000##FFFFFF
##323B8F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323b8f;
/* rgb */ color: rgb(50, 59, 143);
/* oklch */ color: oklch(39.6% 0.138 273.7);
Tailwind
colors: {
  custom: {
    50: '#7570b0',
    500: '#323b8f',
    950: '#000000',
  },
}
SCSS
$custom: #323b8f;
$custom-light: #7570b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323b8f",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 234.194,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.13773,
    "h": 273.7
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#323B8F
secondary
#B4AD68
accent
#CB50D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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