#323299#323299

#323299 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.163 H 275.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#323299
RGBrgb(50, 50, 153)
HSLhsl(240, 51%, 40%)
HSVhsv(240, 67%, 60%)
CMYKcmyk(67.3%, 67.3%, 0%, 40%)
CIE-LABlab(27.46, 33.65, -56.24)
CIE-LCHlch(27.46, 65.53, 300.89°)
OKLaboklab(38.86% 0.0162 -0.1623)
OKLCHoklch(38.86% 0.163 275.7)
XYZxyz(8.2039, 5.2585, 30.7135)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323299 #999932
analogous
#326699 #323299 #663299
triadic
#323299 #993232 #329932
tetradic
#323299 #993266 #999932 #329966
square
#323299 #993266 #999932 #329966
split-complementary
#323299 #996632 #669932
monochromatic
#14143D #23236B #323299 #4646C2 #7474D2

Accessibility & contrast

On white

10.23
#323299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#323299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323299
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323299#FFFFFF#000000##FFFFFF
##3232991.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323299;
/* rgb */ color: rgb(50, 50, 153);
/* oklch */ color: oklch(38.9% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#786ab8',
    500: '#323299',
    950: '#000000',
  },
}
SCSS
$custom: #323299;
$custom-light: #786ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#323299",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.16309,
    "h": 275.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#323299
secondary
#BABA6D
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323299

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

Preview Lab → · Contrast checker → · Palette generator →

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