#3231CF#3231CF

#3231CF is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.231 H 272.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3231CF
RGBrgb(50, 49, 207)
HSLhsl(240, 62%, 50%)
HSVhsv(240, 76%, 81%)
CMYKcmyk(75.8%, 76.3%, 0%, 18.8%)
CIE-LABlab(32.65, 52.27, -79.83)
CIE-LCHlch(32.65, 95.42, 303.22°)
OKLaboklab(44.19% 0.0081 -0.2311)
OKLCHoklch(44.19% 0.231 272)
XYZxyz(13.6724, 7.3783, 59.7230)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231CF #CECF31
analogous
#317FCF #3231CF #8131CF
triadic
#3231CF #CF3231 #31CF32
tetradic
#3231CF #CF317F #CECF31 #31CF81
square
#3231CF #CF317F #CECF31 #31CF81
split-complementary
#3231CF #CF8131 #7FCF31
monochromatic
#1A196C #26259E #3231CF #6363DB #9594E6

Accessibility & contrast

On white

8.48
#3231CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3231CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231CF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231CF#FFFFFF#000000##FFFFFF
##3231CF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D3
Deuteranopia (green-blind)
#0045CC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3231cf;
/* rgb */ color: rgb(50, 49, 207);
/* oklch */ color: oklch(44.2% 0.231 272.0);
Tailwind
colors: {
  custom: {
    50: '#846cdf',
    500: '#3231cf',
    950: '#000000',
  },
}
SCSS
$custom: #3231cf;
$custom-light: #846cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3231cf",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 240.38,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.23123,
    "h": 272
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#3231CF
secondary
#D1D18B
accent
#E543E4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3231CF

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

Preview Lab → · Contrast checker → · Palette generator →

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