#323188#323188

#323188 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.141 H 277.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#323188
RGBrgb(50, 49, 136)
HSLhsl(241, 47%, 36%)
HSVhsv(241, 64%, 53%)
CMYKcmyk(63.2%, 64%, 0%, 46.7%)
CIE-LABlab(25.72, 28.32, -48.59)
CIE-LCHlch(25.72, 56.24, 300.23°)
OKLaboklab(37.13% 0.0185 -0.1399)
OKLCHoklch(37.13% 0.141 277.5)
XYZxyz(6.8562, 4.6518, 23.8244)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323188 #878831
analogous
#315C88 #323188 #5E3188
triadic
#323188 #883231 #318832
tetradic
#323188 #88315C #878831 #31885E
square
#323188 #88315C #878831 #31885E
split-complementary
#323188 #885E31 #5C8831
monochromatic
#11112E #21215B #323188 #4341B5 #6B6AC9

Accessibility & contrast

On white

10.88
#323188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#323188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323188
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323188#FFFFFF#000000##FFFFFF
##3231881.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #323188;
/* rgb */ color: rgb(50, 49, 136);
/* oklch */ color: oklch(37.1% 0.141 277.5);
Tailwind
colors: {
  custom: {
    50: '#7469ab',
    500: '#323188',
    950: '#000000',
  },
}
SCSS
$custom: #323188;
$custom-light: #7469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#323188",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 240.69,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37125,
    "c": 0.14108,
    "h": 277.5
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#323188
secondary
#B0B164
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #323188

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

Preview Lab → · Contrast checker → · Palette generator →

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