#323F78#323F78

#323F78 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.098 H 271.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#323F78
RGBrgb(50, 63, 120)
HSLhsl(229, 41%, 33%)
HSVhsv(229, 58%, 47%)
CMYKcmyk(58.3%, 47.5%, 0%, 52.9%)
CIE-LABlab(28.35, 13.12, -34.31)
CIE-LCHlch(28.35, 36.73, 290.92°)
OKLaboklab(38.72% 0.0026 -0.0977)
OKLCHoklch(38.72% 0.098 271.5)
XYZxyz(6.4820, 5.5887, 18.5028)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F78 #786B32
analogous
#326278 #323F78 #483278
triadic
#323F78 #78323F #3F7832
tetradic
#323F78 #783262 #786B32 #327848
square
#323F78 #783262 #786B32 #327848
split-complementary
#323F78 #784832 #627832
monochromatic
#0E1222 #20284D #323F78 #4456A3 #6576BF

Accessibility & contrast

On white

9.92
#323F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323F78
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F78#FFFFFF#000000##FFFFFF
##323F781.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#094C55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323f78;
/* rgb */ color: rgb(50, 63, 120);
/* oklch */ color: oklch(38.7% 0.098 271.5);
Tailwind
colors: {
  custom: {
    50: '#70739f',
    500: '#323f78',
    950: '#000000',
  },
}
SCSS
$custom: #323f78;
$custom-light: #70739f;
$custom-dark: #000000;
JSON
{
  "hex": "#323f78",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 228.857,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.09777,
    "h": 271.5
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#323F78
secondary
#A7995F
accent
#BA57D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #323F78

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

Preview Lab → · Contrast checker → · Palette generator →

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