#3231B6#3231B6

#3231B6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.201 H 273.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3231B6
RGBrgb(50, 49, 182)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 71%)
CMYKcmyk(72.5%, 73.1%, 0%, 28.6%)
CIE-LABlab(30.04, 44.15, -69.47)
CIE-LCHlch(30.04, 82.31, 302.43°)
OKLaboklab(41.56% 0.0127 -0.2009)
OKLCHoklch(41.56% 0.201 273.6)
XYZxyz(10.8544, 6.2511, 44.8814)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231B6 #B5B631
analogous
#3172B6 #3231B6 #7431B6
triadic
#3231B6 #B63231 #31B632
tetradic
#3231B6 #B63172 #B5B631 #31B674
square
#3231B6 #B63172 #B5B631 #31B674
split-complementary
#3231B6 #B67431 #72B631
monochromatic
#181756 #252486 #3231B6 #5453D1 #8484DE

Accessibility & contrast

On white

9.33
#3231B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3231B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231B6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231B6#FFFFFF#000000##FFFFFF
##3231B61.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3231b6;
/* rgb */ color: rgb(50, 49, 182);
/* oklch */ color: oklch(41.6% 0.201 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e6bcd',
    500: '#3231b6',
    950: '#000000',
  },
}
SCSS
$custom: #3231b6;
$custom-light: #7e6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3231b6",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 240.451,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.20135,
    "h": 273.6
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3231B6

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

Preview Lab → · Contrast checker → · Palette generator →

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