#323166#323166

#323166 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.090 H 281.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#323166
RGBrgb(50, 49, 102)
HSLhsl(241, 35%, 30%)
HSVhsv(241, 52%, 40%)
CMYKcmyk(51%, 52%, 0%, 60%)
CIE-LABlab(23.11, 16.36, -31.18)
CIE-LCHlch(23.11, 35.21, 297.69°)
OKLaboklab(34.37% 0.0179 -0.0887)
OKLCHoklch(34.37% 0.09 281.4)
XYZxyz(4.8113, 3.8338, 13.0543)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323166 #656631
analogous
#314B66 #323166 #4D3166
triadic
#323166 #663231 #316632
tetradic
#323166 #66314B #656631 #31664D
square
#323166 #66314B #656631 #31664D
split-complementary
#323166 #664D31 #4B6631
monochromatic
#0A0A15 #1E1D3D #323166 #46458F #615FB2

Accessibility & contrast

On white

11.89
#323166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#323166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323166
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323166#FFFFFF#000000##FFFFFF
##3231661.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#163565
Tritanopia (blue-blind)
#1F3C46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #323166;
/* rgb */ color: rgb(50, 49, 102);
/* oklch */ color: oklch(34.4% 0.090 281.4);
Tailwind
colors: {
  custom: {
    50: '#6e6992',
    500: '#323166',
    950: '#000000',
  },
}
SCSS
$custom: #323166;
$custom-light: #6e6992;
$custom-dark: #000000;
JSON
{
  "hex": "#323166",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 241.132,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34365,
    "c": 0.09045,
    "h": 281.4
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#323166
secondary
#96975C
accent
#CB5DC9
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #323166

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

Preview Lab → · Contrast checker → · Palette generator →

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