#3231B9#3231B9

#3231B9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.205 H 273.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3231B9
RGBrgb(50, 49, 185)
HSLhsl(240, 58%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(73%, 73.5%, 0%, 27.5%)
CIE-LABlab(30.34, 45.14, -70.75)
CIE-LCHlch(30.34, 83.92, 302.54°)
OKLaboklab(41.87% 0.0121 -0.2047)
OKLCHoklch(41.87% 0.205 273.4)
XYZxyz(11.1677, 6.3764, 46.5317)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231B9 #B8B931
analogous
#3174B9 #3231B9 #7631B9
triadic
#3231B9 #B93231 #31B932
tetradic
#3231B9 #B93174 #B8B931 #31B976
square
#3231B9 #B93174 #B8B931 #31B976
split-complementary
#3231B9 #B97631 #74B931
monochromatic
#181758 #252489 #3231B9 #5655D2 #8686DF

Accessibility & contrast

On white

9.23
#3231B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3231B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231B9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231B9#FFFFFF#000000##FFFFFF
##3231B91.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3231b9;
/* rgb */ color: rgb(50, 49, 185);
/* oklch */ color: oklch(41.9% 0.205 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f6bcf',
    500: '#3231b9',
    950: '#000000',
  },
}
SCSS
$custom: #3231b9;
$custom-light: #7f6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3231b9",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 240.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.20502,
    "h": 273.4
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#3231B9
secondary
#C8C87D
accent
#E146E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3231B9

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

Preview Lab → · Contrast checker → · Palette generator →

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