#323581#323581

#323581 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.126 H 276.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#323581
RGBrgb(50, 53, 129)
HSLhsl(238, 44%, 35%)
HSVhsv(238, 61%, 51%)
CMYKcmyk(61.2%, 58.9%, 0%, 49.4%)
CIE-LABlab(26.18, 23.17, -43.46)
CIE-LCHlch(26.18, 49.25, 298.06°)
OKLaboklab(37.29% 0.0147 -0.1247)
OKLCHoklch(37.29% 0.126 276.7)
XYZxyz(6.5497, 4.8088, 21.3477)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323581 #817E32
analogous
#325C81 #323581 #573281
triadic
#323581 #813235 #358132
tetradic
#323581 #81325C #817E32 #328157
square
#323581 #81325C #817E32 #328157
split-complementary
#323581 #815732 #5C8132
monochromatic
#101129 #212355 #323581 #4347AD #696CC5

Accessibility & contrast

On white

10.70
#323581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#323581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323581
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323581#FFFFFF#000000##FFFFFF
##3235811.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #323581;
/* rgb */ color: rgb(50, 53, 129);
/* oklch */ color: oklch(37.3% 0.126 276.7);
Tailwind
colors: {
  custom: {
    50: '#726ca6',
    500: '#323581',
    950: '#000000',
  },
}
SCSS
$custom: #323581;
$custom-light: #726ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#323581",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 237.722,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37289,
    "c": 0.1256,
    "h": 276.7
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#323581
secondary
#ACAA62
accent
#CF54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #323581

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

Preview Lab → · Contrast checker → · Palette generator →

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