#323181#323181

#323181 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.131 H 278.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#323181
RGBrgb(50, 49, 129)
HSLhsl(241, 45%, 35%)
HSVhsv(241, 62%, 51%)
CMYKcmyk(61.2%, 62%, 0%, 49.4%)
CIE-LABlab(25.14, 25.84, -45.16)
CIE-LCHlch(25.14, 52.03, 299.78°)
OKLaboklab(36.51% 0.0188 -0.1298)
OKLCHoklch(36.51% 0.131 278.3)
XYZxyz(6.3749, 4.4593, 21.2894)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323181 #808131
analogous
#315881 #323181 #5A3181
triadic
#323181 #813231 #318132
tetradic
#323181 #813158 #808131 #31815A
square
#323181 #813158 #808131 #31815A
split-complementary
#323181 #815A31 #588131
monochromatic
#100F28 #212055 #323181 #4342AD #6867C5

Accessibility & contrast

On white

11.10
#323181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#323181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323181
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323181#FFFFFF#000000##FFFFFF
##3231811.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #323181;
/* rgb */ color: rgb(50, 49, 129);
/* oklch */ color: oklch(36.5% 0.131 278.3);
Tailwind
colors: {
  custom: {
    50: '#7369a6',
    500: '#323181',
    950: '#000000',
  },
}
SCSS
$custom: #323181;
$custom-light: #7369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#323181",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 240.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36513,
    "c": 0.13114,
    "h": 278.3
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#323181
secondary
#ACAD61
accent
#D553D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #323181

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

Preview Lab → · Contrast checker → · Palette generator →

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