#323F79#323F79

#323F79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.099 H 271.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#323F79
RGBrgb(50, 63, 121)
HSLhsl(229, 42%, 34%)
HSVhsv(229, 59%, 47%)
CMYKcmyk(58.7%, 47.9%, 0%, 52.5%)
CIE-LABlab(28.41, 13.48, -34.84)
CIE-LCHlch(28.41, 37.36, 291.15°)
OKLaboklab(38.79% 0.0027 -0.0993)
OKLCHoklch(38.79% 0.099 271.6)
XYZxyz(6.5430, 5.6131, 18.8241)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F79 #796C32
analogous
#326279 #323F79 #483279
triadic
#323F79 #79323F #3F7932
tetradic
#323F79 #793262 #796C32 #327948
square
#323F79 #793262 #796C32 #327948
split-complementary
#323F79 #794832 #627932
monochromatic
#0E1222 #20284E #323F79 #4456A4 #6676C0

Accessibility & contrast

On white

9.89
#323F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#323F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F79
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F79#FFFFFF#000000##FFFFFF
##323F791.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#074C56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323f79;
/* rgb */ color: rgb(50, 63, 121);
/* oklch */ color: oklch(38.8% 0.099 271.6);
Tailwind
colors: {
  custom: {
    50: '#7073a0',
    500: '#323f79',
    950: '#000000',
  },
}
SCSS
$custom: #323f79;
$custom-light: #7073a0;
$custom-dark: #000000;
JSON
{
  "hex": "#323f79",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 229.014,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.09933,
    "h": 271.6
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#323F79
secondary
#A79A5F
accent
#BB56D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #323F79

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

Preview Lab → · Contrast checker → · Palette generator →

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