#3231B7#3231B7

#3231B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.203 H 273.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3231B7
RGBrgb(50, 49, 183)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 72%)
CMYKcmyk(72.7%, 73.2%, 0%, 28.2%)
CIE-LABlab(30.14, 44.48, -69.90)
CIE-LCHlch(30.14, 82.85, 302.47°)
OKLaboklab(41.66% 0.0125 -0.2022)
OKLCHoklch(41.66% 0.203 273.5)
XYZxyz(10.9581, 6.2925, 45.4276)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231B7 #B6B731
analogous
#3173B7 #3231B7 #7531B7
triadic
#3231B7 #B73231 #31B732
tetradic
#3231B7 #B73173 #B6B731 #31B775
square
#3231B7 #B73173 #B6B731 #31B775
split-complementary
#3231B7 #B77531 #73B731
monochromatic
#181756 #252487 #3231B7 #5554D1 #8584DE

Accessibility & contrast

On white

9.30
#3231B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3231B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231B7
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231B7#FFFFFF#000000##FFFFFF
##3231B71.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3231b7;
/* rgb */ color: rgb(50, 49, 183);
/* oklch */ color: oklch(41.7% 0.203 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6bce',
    500: '#3231b7',
    950: '#000000',
  },
}
SCSS
$custom: #3231b7;
$custom-light: #7e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3231b7",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 240.448,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.20257,
    "h": 273.5
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#3231B7
secondary
#C7C87C
accent
#E147E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3231B7

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

Preview Lab → · Contrast checker → · Palette generator →

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