#323477#323477

#323477 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.112 H 277.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#323477
RGBrgb(50, 52, 119)
HSLhsl(238, 41%, 33%)
HSVhsv(238, 58%, 47%)
CMYKcmyk(58%, 56.3%, 0%, 53.3%)
CIE-LABlab(25.15, 20.27, -38.81)
CIE-LCHlch(25.15, 43.79, 297.58°)
OKLaboklab(36.28% 0.0155 -0.1111)
OKLCHoklch(36.28% 0.112 277.9)
XYZxyz(5.8721, 4.4656, 18.0017)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323477 #777532
analogous
#325677 #323477 #523277
triadic
#323477 #773234 #347732
tetradic
#323477 #773256 #777532 #327752
square
#323477 #773256 #777532 #327752
split-complementary
#323477 #775232 #567732
monochromatic
#0E0E21 #20214C #323477 #4447A2 #6568BE

Accessibility & contrast

On white

11.09
#323477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#323477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323477
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323477#FFFFFF#000000##FFFFFF
##3234771.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F79
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#0E4350
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #323477;
/* rgb */ color: rgb(50, 52, 119);
/* oklch */ color: oklch(36.3% 0.112 277.9);
Tailwind
colors: {
  custom: {
    50: '#706b9f',
    500: '#323477',
    950: '#000000',
  },
}
SCSS
$custom: #323477;
$custom-light: #706b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#323477",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 238.261,
    "s": 40.828,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.11216,
    "h": 277.9
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#323477
secondary
#A6A45F
accent
#CD57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #323477

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

Preview Lab → · Contrast checker → · Palette generator →

#323477 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva