#3231AF#3231AF

#3231AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3231AF
RGBrgb(50, 49, 175)
HSLhsl(240, 56%, 44%)
HSVhsv(240, 72%, 69%)
CMYKcmyk(71.4%, 72%, 0%, 31.4%)
CIE-LABlab(29.33, 41.80, -66.46)
CIE-LCHlch(29.33, 78.51, 302.17°)
OKLaboklab(40.85% 0.0138 -0.1922)
OKLCHoklch(40.85% 0.193 274.1)
XYZxyz(10.1490, 5.9689, 41.1664)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231AF #AEAF31
analogous
#316FAF #3231AF #7131AF
triadic
#3231AF #AF3231 #31AF32
tetradic
#3231AF #AF316F #AEAF31 #31AF71
square
#3231AF #AF316F #AEAF31 #31AF71
split-complementary
#3231AF #AF7131 #6FAF31
monochromatic
#17164F #24247F #3231AF #504FCE #807FDB

Accessibility & contrast

On white

9.57
#3231AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3231AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231AF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231AF#FFFFFF#000000##FFFFFF
##3231AF1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3231af;
/* rgb */ color: rgb(50, 49, 175);
/* oklch */ color: oklch(40.8% 0.193 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ac8',
    500: '#3231af',
    950: '#000000',
  },
}
SCSS
$custom: #3231af;
$custom-light: #7d6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3231af",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 240.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.19267,
    "h": 274.1
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#3231AF
secondary
#C4C478
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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