#323097#323097

#323097 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.163 H 276.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#323097
RGBrgb(50, 48, 151)
HSLhsl(241, 52%, 39%)
HSVhsv(241, 68%, 59%)
CMYKcmyk(66.9%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.81, 34.21, -56.08)
CIE-LCHlch(26.81, 65.69, 301.38°)
OKLaboklab(38.33% 0.0179 -0.1618)
OKLCHoklch(38.33% 0.163 276.3)
XYZxyz(7.9564, 5.0257, 29.8229)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323097 #959730
analogous
#306297 #323097 #663097
triadic
#323097 #973230 #309732
tetradic
#323097 #973062 #959730 #309766
square
#323097 #973062 #959730 #309766
split-complementary
#323097 #976630 #629730
monochromatic
#13123A #232169 #323097 #4441C3 #7270D2

Accessibility & contrast

On white

10.47
#323097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#323097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323097
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323097#FFFFFF#000000##FFFFFF
##3230971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #323097;
/* rgb */ color: rgb(50, 48, 151);
/* oklch */ color: oklch(38.3% 0.163 276.3);
Tailwind
colors: {
  custom: {
    50: '#7769b7',
    500: '#323097',
    950: '#000000',
  },
}
SCSS
$custom: #323097;
$custom-light: #7769b7;
$custom-dark: #000000;
JSON
{
  "hex": "#323097",
  "rgb": {
    "r": 50,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 241.165,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3833,
    "c": 0.16282,
    "h": 276.3
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#323097
secondary
#B8B96A
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323097

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

Preview Lab → · Contrast checker → · Palette generator →

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