#3531B8#3531B8

#3531B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.203 H 274.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3531B8
RGBrgb(53, 49, 184)
HSLhsl(242, 58%, 46%)
HSVhsv(242, 73%, 72%)
CMYKcmyk(71.2%, 73.4%, 0%, 27.8%)
CIE-LABlab(30.43, 45.11, -70.00)
CIE-LCHlch(30.43, 83.27, 302.80°)
OKLaboklab(41.95% 0.0159 -0.2024)
OKLCHoklch(41.95% 0.203 274.5)
XYZxyz(11.2154, 6.4131, 45.9849)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B8 #B4B831
analogous
#3170B8 #3531B8 #7831B8
triadic
#3531B8 #B83531 #31B835
tetradic
#3531B8 #B83170 #B4B831 #31B878
square
#3531B8 #B83170 #B4B831 #31B878
split-complementary
#3531B8 #B87831 #70B831
monochromatic
#191757 #272488 #3531B8 #5855D2 #8885DE

Accessibility & contrast

On white

9.20
#3531B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3531B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531B8
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531B8#FFFFFF#000000##FFFFFF
##3531B81.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3531b8;
/* rgb */ color: rgb(53, 49, 184);
/* oklch */ color: oklch(42.0% 0.203 274.5);
Tailwind
colors: {
  custom: {
    50: '#806bcf',
    500: '#3531b8',
    950: '#000000',
  },
}
SCSS
$custom: #3531b8;
$custom-light: #806bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b8",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 241.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.20305,
    "h": 274.5
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#3531B8
secondary
#C6C87D
accent
#E147DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3531B8

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

Preview Lab → · Contrast checker → · Palette generator →

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