#323F71#323F71

#323F71 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.087 H 270.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#323F71
RGBrgb(50, 63, 113)
HSLhsl(228, 39%, 32%)
HSVhsv(228, 56%, 44%)
CMYKcmyk(55.8%, 44.2%, 0%, 55.7%)
CIE-LABlab(27.91, 10.61, -30.59)
CIE-LCHlch(27.91, 32.37, 289.13°)
OKLaboklab(38.24% 0.0013 -0.0868)
OKLCHoklch(38.24% 0.087 270.9)
XYZxyz(6.0726, 5.4250, 16.3467)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F71 #716432
analogous
#325F71 #323F71 #453271
triadic
#323F71 #71323F #3F7132
tetradic
#323F71 #71325F #716432 #327145
square
#323F71 #71325F #716432 #327145
split-complementary
#323F71 #714532 #5F7132
monochromatic
#0C101C #1F2747 #323F71 #45579B #6375BA

Accessibility & contrast

On white

10.07
#323F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#323F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F71
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F71#FFFFFF#000000##FFFFFF
##323F711.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#134A52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323f71;
/* rgb */ color: rgb(50, 63, 113);
/* oklch */ color: oklch(38.2% 0.087 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f739a',
    500: '#323f71',
    950: '#000000',
  },
}
SCSS
$custom: #323f71;
$custom-light: #6f739a;
$custom-dark: #000000;
JSON
{
  "hex": "#323f71",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 227.619,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.08682,
    "h": 270.9
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#323F71
secondary
#A2945D
accent
#B659CF
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #323F71

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

Preview Lab → · Contrast checker → · Palette generator →

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