#323356#323356

#323356 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.061 H 281.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#323356
RGBrgb(50, 51, 86)
HSLhsl(238, 26%, 27%)
HSVhsv(238, 42%, 34%)
CMYKcmyk(41.9%, 40.7%, 0%, 66.3%)
CIE-LABlab(22.71, 9.59, -21.33)
CIE-LCHlch(22.71, 23.39, 294.22°)
OKLaboklab(33.74% 0.012 -0.0599)
OKLCHoklch(33.74% 0.061 281.4)
XYZxyz(4.1785, 3.7175, 9.2997)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323356 #565532
analogous
#324556 #323356 #433256
triadic
#323356 #563233 #335632
tetradic
#323356 #563245 #565532 #325643
square
#323356 #563245 #565532 #325643
split-complementary
#323356 #564332 #455632
monochromatic
#0B0B13 #1C1C2F #323356 #494A7D #6062A3

Accessibility & contrast

On white

12.04
#323356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#323356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323356
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323356#FFFFFF#000000##FFFFFF
##3233561.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273857
Deuteranopia (green-blind)
#263555
Tritanopia (blue-blind)
#283A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #323356;
/* rgb */ color: rgb(50, 51, 86);
/* oklch */ color: oklch(33.7% 0.061 281.4);
Tailwind
colors: {
  custom: {
    50: '#6c6a86',
    500: '#323356',
    950: '#000000',
  },
}
SCSS
$custom: #323356;
$custom-light: #6c6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#323356",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 86
  },
  "hsl": {
    "h": 238.333,
    "s": 26.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.06105,
    "h": 281.4
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#323356
secondary
#87865D
accent
#C065C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #323356

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

Preview Lab → · Contrast checker → · Palette generator →

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