#323481#323481

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

Color values

HEX#323481
RGBrgb(50, 52, 129)
HSLhsl(238, 44%, 35%)
HSVhsv(238, 61%, 51%)
CMYKcmyk(61.2%, 59.7%, 0%, 49.4%)
CIE-LABlab(25.92, 23.84, -43.89)
CIE-LCHlch(25.92, 49.94, 298.51°)
OKLaboklab(37.09% 0.0157 -0.126)
OKLCHoklch(37.09% 0.127 277.1)
XYZxyz(6.5046, 4.7186, 21.3326)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323481 #817F32
analogous
#325B81 #323481 #573281
triadic
#323481 #813234 #348132
tetradic
#323481 #81325B #817F32 #328157
square
#323481 #81325B #817F32 #328157
split-complementary
#323481 #815732 #5B8132
monochromatic
#101029 #212255 #323481 #4346AD #696BC5

Accessibility & contrast

On white

10.80
#323481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#323481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323481
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323481#FFFFFF#000000##FFFFFF
##3234811.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #323481;
/* rgb */ color: rgb(50, 52, 129);
/* oklch */ color: oklch(37.1% 0.127 277.1);
Tailwind
colors: {
  custom: {
    50: '#726ba6',
    500: '#323481',
    950: '#000000',
  },
}
SCSS
$custom: #323481;
$custom-light: #726ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#323481",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 238.481,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.127,
    "h": 277.1
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#323481
secondary
#ACAA62
accent
#D154D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #323481

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

Preview Lab → · Contrast checker → · Palette generator →

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