#3231E2#3231E2

#3231E2 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.3% C 0.253 H 271.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3231E2
RGBrgb(50, 49, 226)
HSLhsl(240, 75%, 54%)
HSVhsv(240, 78%, 89%)
CMYKcmyk(77.9%, 78.3%, 0%, 11.4%)
CIE-LABlab(34.73, 58.20, -87.34)
CIE-LCHlch(34.73, 104.95, 303.68°)
OKLaboklab(46.25% 0.0044 -0.2529)
OKLCHoklch(46.25% 0.253 271)
XYZxyz(16.1365, 8.3639, 72.7007)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231E2 #E1E231
analogous
#3189E2 #3231E2 #8B31E2
triadic
#3231E2 #E23231 #31E232
tetradic
#3231E2 #E23189 #E1E231 #31E28B
square
#3231E2 #E23189 #E1E231 #31E28B
split-complementary
#3231E2 #E28B31 #89E231
monochromatic
#131386 #1B1ABB #3231E2 #6767EA #9D9CF1

Accessibility & contrast

On white

7.86
#3231E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3231E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231E2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231E2#FFFFFF#000000##FFFFFF
##3231E21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0048DF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3231e2;
/* rgb */ color: rgb(50, 49, 226);
/* oklch */ color: oklch(46.3% 0.253 271.0);
Tailwind
colors: {
  custom: {
    50: '#886ded',
    500: '#3231e2',
    950: '#000000',
  },
}
SCSS
$custom: #3231e2;
$custom-light: #886ded;
$custom-dark: #000000;
JSON
{
  "hex": "#3231e2",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 240.339,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.25291,
    "h": 271
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#3231E2
secondary
#DDDD92
accent
#F236F1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3231E2

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

Preview Lab → · Contrast checker → · Palette generator →

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