#3431AB#3431AB

#3431AB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.187 H 275.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3431AB
RGBrgb(52, 49, 171)
HSLhsl(241, 55%, 43%)
HSVhsv(241, 71%, 67%)
CMYKcmyk(69.6%, 71.3%, 0%, 32.9%)
CIE-LABlab(29.07, 40.68, -64.49)
CIE-LCHlch(29.07, 76.25, 302.25°)
OKLaboklab(40.58% 0.0169 -0.1864)
OKLCHoklch(40.58% 0.187 275.2)
XYZxyz(9.8627, 5.8660, 39.1327)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431AB #A8AB31
analogous
#316BAB #3431AB #7131AB
triadic
#3431AB #AB3431 #31AB34
tetradic
#3431AB #AB316B #A8AB31 #31AB71
square
#3431AB #AB316B #A8AB31 #31AB71
split-complementary
#3431AB #AB7131 #6BAB31
monochromatic
#17164C #26237B #3431AB #504DCC #7F7DDA

Accessibility & contrast

On white

9.66
#3431AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3431AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431AB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431AB#FFFFFF#000000##FFFFFF
##3431AB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3431ab;
/* rgb */ color: rgb(52, 49, 171);
/* oklch */ color: oklch(40.6% 0.187 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ac5',
    500: '#3431ab',
    950: '#000000',
  },
}
SCSS
$custom: #3431ab;
$custom-light: #7c6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3431ab",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 241.475,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.18713,
    "h": 275.2
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#3431AB
secondary
#C0C275
accent
#DF49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3431AB

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

Preview Lab → · Contrast checker → · Palette generator →

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