#323256#323256

#323256 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.063 H 282.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#323256
RGBrgb(50, 50, 86)
HSLhsl(240, 26%, 27%)
HSVhsv(240, 42%, 34%)
CMYKcmyk(41.9%, 41.9%, 0%, 66.3%)
CIE-LABlab(22.41, 10.29, -21.80)
CIE-LCHlch(22.41, 24.11, 295.26°)
OKLaboklab(33.51% 0.0136 -0.0612)
OKLCHoklch(33.51% 0.063 282.5)
XYZxyz(4.1352, 3.6310, 9.2853)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323256 #565632
analogous
#324456 #323256 #443256
triadic
#323256 #563232 #325632
tetradic
#323256 #563244 #565632 #325644
square
#323256 #563244 #565632 #325644
split-complementary
#323256 #564432 #445632
monochromatic
#0B0B13 #1C1C2F #323256 #49497D #6060A3

Accessibility & contrast

On white

12.17
#323256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#323256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323256
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323256#FFFFFF#000000##FFFFFF
##3232561.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263757
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#28393F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #323256;
/* rgb */ color: rgb(50, 50, 86);
/* oklch */ color: oklch(33.5% 0.063 282.5);
Tailwind
colors: {
  custom: {
    50: '#6c6986',
    500: '#323256',
    950: '#000000',
  },
}
SCSS
$custom: #323256;
$custom-light: #6c6986;
$custom-dark: #000000;
JSON
{
  "hex": "#323256",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 26.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33508,
    "c": 0.06272,
    "h": 282.5
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#323256
secondary
#87875D
accent
#C365C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #323256

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

Preview Lab → · Contrast checker → · Palette generator →

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