#3231B2#3231B2

#3231B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.196 H 273.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3231B2
RGBrgb(50, 49, 178)
HSLhsl(240, 57%, 45%)
HSVhsv(240, 72%, 70%)
CMYKcmyk(71.9%, 72.5%, 0%, 30.2%)
CIE-LABlab(29.63, 42.81, -67.75)
CIE-LCHlch(29.63, 80.15, 302.29°)
OKLaboklab(41.15% 0.0133 -0.196)
OKLCHoklch(41.15% 0.196 273.9)
XYZxyz(10.4469, 6.0881, 42.7354)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231B2 #B1B231
analogous
#3171B2 #3231B2 #7331B2
triadic
#3231B2 #B23231 #31B232
tetradic
#3231B2 #B23171 #B1B231 #31B273
square
#3231B2 #B23171 #B1B231 #31B273
split-complementary
#3231B2 #B27331 #71B231
monochromatic
#171752 #252482 #3231B2 #5251CF #8281DC

Accessibility & contrast

On white

9.47
#3231B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3231B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231B2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231B2#FFFFFF#000000##FFFFFF
##3231B21.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3231b2;
/* rgb */ color: rgb(50, 49, 178);
/* oklch */ color: oklch(41.2% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d6aca',
    500: '#3231b2',
    950: '#000000',
  },
}
SCSS
$custom: #3231b2;
$custom-light: #7d6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3231b2",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 240.465,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.1964,
    "h": 273.9
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#3231B2
secondary
#C5C579
accent
#E048DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3231B2

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

Preview Lab → · Contrast checker → · Palette generator →

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