#3531AF#3531AF

#3531AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.192 H 275.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3531AF
RGBrgb(53, 49, 175)
HSLhsl(242, 56%, 44%)
HSVhsv(242, 72%, 69%)
CMYKcmyk(69.7%, 72%, 0%, 31.4%)
CIE-LABlab(29.53, 42.13, -66.12)
CIE-LCHlch(29.53, 78.41, 302.51°)
OKLaboklab(41.04% 0.0175 -0.1911)
OKLCHoklch(41.04% 0.192 275.2)
XYZxyz(10.3018, 6.0477, 41.1735)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531AF #ABAF31
analogous
#316CAF #3531AF #7431AF
triadic
#3531AF #AF3531 #31AF35
tetradic
#3531AF #AF316C #ABAF31 #31AF74
square
#3531AF #AF316C #ABAF31 #31AF74
split-complementary
#3531AF #AF7431 #6CAF31
monochromatic
#18164F #27247F #3531AF #534FCE #827FDB

Accessibility & contrast

On white

9.50
#3531AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3531AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531AF
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531AF#FFFFFF#000000##FFFFFF
##3531AF1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3531af;
/* rgb */ color: rgb(53, 49, 175);
/* oklch */ color: oklch(41.0% 0.192 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ac8',
    500: '#3531af',
    950: '#000000',
  },
}
SCSS
$custom: #3531af;
$custom-light: #7e6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3531af",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 241.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.19192,
    "h": 275.2
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#3531AF
secondary
#C2C478
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3531AF

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

Preview Lab → · Contrast checker → · Palette generator →

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