#323366#323366

#323366 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.087 H 280.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#323366
RGBrgb(50, 51, 102)
HSLhsl(239, 34%, 30%)
HSVhsv(239, 51%, 40%)
CMYKcmyk(51%, 50%, 0%, 60%)
CIE-LABlab(23.69, 14.98, -30.26)
CIE-LCHlch(23.69, 33.77, 296.34°)
OKLaboklab(34.8% 0.0152 -0.086)
OKLCHoklch(34.8% 0.087 280)
XYZxyz(4.8968, 4.0048, 13.0828)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323366 #666532
analogous
#324D66 #323366 #4B3266
triadic
#323366 #663233 #336632
tetradic
#323366 #66324D #666532 #32664B
square
#323366 #66324D #666532 #32664B
split-complementary
#323366 #664B32 #4D6632
monochromatic
#0A0A15 #1E1E3D #323366 #46488F #6162B2

Accessibility & contrast

On white

11.66
#323366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#323366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323366
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323366#FFFFFF#000000##FFFFFF
##3233661.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#193665
Tritanopia (blue-blind)
#1F3E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #323366;
/* rgb */ color: rgb(50, 51, 102);
/* oklch */ color: oklch(34.8% 0.087 280.0);
Tailwind
colors: {
  custom: {
    50: '#6e6a92',
    500: '#323366',
    950: '#000000',
  },
}
SCSS
$custom: #323366;
$custom-light: #6e6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#323366",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 238.846,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34797,
    "c": 0.08729,
    "h": 280
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#323366
secondary
#97965D
accent
#C85ECA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #323366

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

Preview Lab → · Contrast checker → · Palette generator →

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