#323295#323295

#323295 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.158 H 276.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#323295
RGBrgb(50, 50, 149)
HSLhsl(240, 50%, 39%)
HSVhsv(240, 66%, 58%)
CMYKcmyk(66.4%, 66.4%, 0%, 41.6%)
CIE-LABlab(27.10, 32.24, -54.38)
CIE-LCHlch(27.10, 63.22, 300.67°)
OKLaboklab(38.48% 0.0166 -0.1568)
OKLCHoklch(38.48% 0.158 276)
XYZxyz(7.8790, 5.1286, 29.0026)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323295 #959532
analogous
#326495 #323295 #643295
triadic
#323295 #953232 #329532
tetradic
#323295 #953264 #959532 #329564
square
#323295 #953264 #959532 #329564
split-complementary
#323295 #956432 #649532
monochromatic
#131339 #232367 #323295 #4444C0 #7272D0

Accessibility & contrast

On white

10.37
#323295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#323295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323295
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323295#FFFFFF#000000##FFFFFF
##3232951.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323295;
/* rgb */ color: rgb(50, 50, 149);
/* oklch */ color: oklch(38.5% 0.158 276.0);
Tailwind
colors: {
  custom: {
    50: '#776ab5',
    500: '#323295',
    950: '#000000',
  },
}
SCSS
$custom: #323295;
$custom-light: #776ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#323295",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.15771,
    "h": 276
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#323295
secondary
#B8B86B
accent
#D94FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323295

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

Preview Lab → · Contrast checker → · Palette generator →

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