#323795#323795

#323795 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.151 H 274.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#323795
RGBrgb(50, 55, 149)
HSLhsl(237, 50%, 39%)
HSVhsv(237, 66%, 58%)
CMYKcmyk(66.4%, 63.1%, 0%, 41.6%)
CIE-LABlab(28.33, 29.01, -52.37)
CIE-LCHlch(28.33, 59.87, 298.99°)
OKLaboklab(39.38% 0.0124 -0.1509)
OKLCHoklch(39.38% 0.151 274.7)
XYZxyz(8.1046, 5.5797, 29.0778)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323795 #959032
analogous
#326995 #323795 #5F3295
triadic
#323795 #953237 #379532
tetradic
#323795 #953269 #959032 #32955F
square
#323795 #953269 #959032 #32955F
split-complementary
#323795 #955F32 #699532
monochromatic
#131539 #232667 #323795 #444AC0 #7277D0

Accessibility & contrast

On white

9.92
#323795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#323795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323795
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323795#FFFFFF#000000##FFFFFF
##3237951.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323795;
/* rgb */ color: rgb(50, 55, 149);
/* oklch */ color: oklch(39.4% 0.151 274.7);
Tailwind
colors: {
  custom: {
    50: '#766eb5',
    500: '#323795',
    950: '#000000',
  },
}
SCSS
$custom: #323795;
$custom-light: #766eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#323795",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 236.97,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.15143,
    "h": 274.7
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#323795
secondary
#B8B46B
accent
#D24FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323795

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

Preview Lab → · Contrast checker → · Palette generator →

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