#323B79#323B79

#323B79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.105 H 274.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#323B79
RGBrgb(50, 59, 121)
HSLhsl(232, 42%, 34%)
HSVhsv(232, 59%, 47%)
CMYKcmyk(58.7%, 51.2%, 0%, 52.5%)
CIE-LABlab(27.26, 16.21, -36.69)
CIE-LCHlch(27.26, 40.11, 293.83°)
OKLaboklab(37.91% 0.0075 -0.1048)
OKLCHoklch(37.91% 0.105 274.1)
XYZxyz(6.3294, 5.1861, 18.7529)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B79 #797032
analogous
#325E79 #323B79 #4C3279
triadic
#323B79 #79323B #3B7932
tetradic
#323B79 #79325E #797032 #32794C
square
#323B79 #79325E #797032 #32794C
split-complementary
#323B79 #794C32 #5E7932
monochromatic
#0E1122 #20264E #323B79 #4450A4 #6671C0

Accessibility & contrast

On white

10.31
#323B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#323B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B79
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B79#FFFFFF#000000##FFFFFF
##323B791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#113D78
Tritanopia (blue-blind)
#084954
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323b79;
/* rgb */ color: rgb(50, 59, 121);
/* oklch */ color: oklch(37.9% 0.105 274.1);
Tailwind
colors: {
  custom: {
    50: '#7070a0',
    500: '#323b79',
    950: '#000000',
  },
}
SCSS
$custom: #323b79;
$custom-light: #7070a0;
$custom-dark: #000000;
JSON
{
  "hex": "#323b79",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 232.394,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.10505,
    "h": 274.1
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#323B79
secondary
#A79E5F
accent
#C256D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #323B79

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

Preview Lab → · Contrast checker → · Palette generator →

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