#3231B3#3231B3

#3231B3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.198 H 273.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3231B3
RGBrgb(50, 49, 179)
HSLhsl(240, 57%, 45%)
HSVhsv(240, 73%, 70%)
CMYKcmyk(72.1%, 72.6%, 0%, 29.8%)
CIE-LABlab(29.73, 43.15, -68.18)
CIE-LCHlch(29.73, 80.69, 302.32°)
OKLaboklab(41.25% 0.0132 -0.1972)
OKLCHoklch(41.25% 0.198 273.8)
XYZxyz(10.5477, 6.1284, 43.2661)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231B3 #B2B331
analogous
#3171B3 #3231B3 #7331B3
triadic
#3231B3 #B33231 #31B332
tetradic
#3231B3 #B33171 #B2B331 #31B373
square
#3231B3 #B33171 #B2B331 #31B373
split-complementary
#3231B3 #B37331 #71B331
monochromatic
#171753 #252483 #3231B3 #5352D0 #8282DD

Accessibility & contrast

On white

9.43
#3231B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3231B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231B3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231B3#FFFFFF#000000##FFFFFF
##3231B31.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3231b3;
/* rgb */ color: rgb(50, 49, 179);
/* oklch */ color: oklch(41.3% 0.198 273.8);
Tailwind
colors: {
  custom: {
    50: '#7d6acb',
    500: '#3231b3',
    950: '#000000',
  },
}
SCSS
$custom: #3231b3;
$custom-light: #7d6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3231b3",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 240.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.19764,
    "h": 273.8
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#3231B3
secondary
#C5C67A
accent
#E048DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3231B3

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

Preview Lab → · Contrast checker → · Palette generator →

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