#3431AE#3431AE

#3431AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.191 H 274.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3431AE
RGBrgb(52, 49, 174)
HSLhsl(241, 56%, 44%)
HSVhsv(241, 72%, 68%)
CMYKcmyk(70.1%, 71.8%, 0%, 31.8%)
CIE-LABlab(29.37, 41.69, -65.80)
CIE-LCHlch(29.37, 77.89, 302.36°)
OKLaboklab(40.87% 0.0164 -0.1902)
OKLCHoklch(40.87% 0.191 274.9)
XYZxyz(10.1519, 5.9817, 40.6558)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431AE #ABAE31
analogous
#316CAE #3431AE #7231AE
triadic
#3431AE #AE3431 #31AE34
tetradic
#3431AE #AE316C #ABAE31 #31AE72
square
#3431AE #AE316C #ABAE31 #31AE72
split-complementary
#3431AE #AE7231 #6CAE31
monochromatic
#17164E #26247E #3431AE #524FCD #817FDB

Accessibility & contrast

On white

9.56
#3431AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3431AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431AE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431AE#FFFFFF#000000##FFFFFF
##3431AE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3431ae;
/* rgb */ color: rgb(52, 49, 174);
/* oklch */ color: oklch(40.9% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ac7',
    500: '#3431ae',
    950: '#000000',
  },
}
SCSS
$custom: #3431ae;
$custom-light: #7d6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3431ae",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 241.44,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.19091,
    "h": 274.9
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#3431AE
secondary
#C2C477
accent
#DF48DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3431AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3431AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva