#3231AE#3231AE

#3231AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.191 H 274.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3231AE
RGBrgb(50, 49, 174)
HSLhsl(240, 56%, 44%)
HSVhsv(240, 72%, 68%)
CMYKcmyk(71.3%, 71.8%, 0%, 31.8%)
CIE-LABlab(29.23, 41.47, -66.02)
CIE-LCHlch(29.23, 77.96, 302.13°)
OKLaboklab(40.75% 0.014 -0.1909)
OKLCHoklch(40.75% 0.191 274.2)
XYZxyz(10.0511, 5.9298, 40.6510)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231AE #ADAE31
analogous
#316EAE #3231AE #7031AE
triadic
#3231AE #AE3231 #31AE32
tetradic
#3231AE #AE316E #ADAE31 #31AE70
square
#3231AE #AE316E #ADAE31 #31AE70
split-complementary
#3231AE #AE7031 #6EAE31
monochromatic
#17164E #24247E #3231AE #504FCD #7F7FDB

Accessibility & contrast

On white

9.61
#3231AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3231AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231AE
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231AE#FFFFFF#000000##FFFFFF
##3231AE1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3231ae;
/* rgb */ color: rgb(50, 49, 174);
/* oklch */ color: oklch(40.7% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ac7',
    500: '#3231ae',
    950: '#000000',
  },
}
SCSS
$custom: #3231ae;
$custom-light: #7c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3231ae",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 240.48,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.19141,
    "h": 274.2
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#3231AE
secondary
#C3C477
accent
#DF48DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3231AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3231AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva