#3231A2#3231A2

#3231A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.176 H 275.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3231A2
RGBrgb(50, 49, 162)
HSLhsl(241, 54%, 41%)
HSVhsv(241, 70%, 64%)
CMYKcmyk(69.1%, 69.8%, 0%, 36.5%)
CIE-LABlab(28.07, 37.38, -60.72)
CIE-LCHlch(28.07, 71.30, 301.62°)
OKLaboklab(39.55% 0.0158 -0.1754)
OKLCHoklch(39.55% 0.176 275.1)
XYZxyz(8.9331, 5.4826, 34.7629)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231A2 #A1A231
analogous
#3169A2 #3231A2 #6B31A2
triadic
#3231A2 #A23231 #31A232
tetradic
#3231A2 #A23169 #A1A231 #31A26B
square
#3231A2 #A23169 #A1A231 #31A26B
split-complementary
#3231A2 #A26B31 #69A231
monochromatic
#151544 #232373 #3231A2 #4A48C8 #7877D6

Accessibility & contrast

On white

10.02
#3231A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3231A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231A2
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231A2#FFFFFF#000000##FFFFFF
##3231A21.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3231a2;
/* rgb */ color: rgb(50, 49, 162);
/* oklch */ color: oklch(39.6% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#7a6abf',
    500: '#3231a2',
    950: '#000000',
  },
}
SCSS
$custom: #3231a2;
$custom-light: #7a6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3231a2",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 240.531,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.17611,
    "h": 275.1
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#3231A2
secondary
#BEBE71
accent
#DD4BDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3231A2

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

Preview Lab → · Contrast checker → · Palette generator →

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