#3531D4#3531D4

#3531D4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.236 H 272.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3531D4
RGBrgb(53, 49, 212)
HSLhsl(241, 65%, 51%)
HSVhsv(241, 77%, 83%)
CMYKcmyk(75%, 76.9%, 0%, 16.9%)
CIE-LABlab(33.36, 54.07, -81.55)
CIE-LCHlch(33.36, 97.85, 303.54°)
OKLaboklab(44.89% 0.0105 -0.236)
OKLCHoklch(44.89% 0.236 272.5)
XYZxyz(14.4462, 7.7054, 63.0005)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531D4 #D0D431
analogous
#317ED4 #3531D4 #8631D4
triadic
#3531D4 #D43531 #31D435
tetradic
#3531D4 #D4317E #D0D431 #31D486
square
#3531D4 #D4317E #D0D431 #31D486
split-complementary
#3531D4 #D48631 #7ED431
monochromatic
#1A1873 #2623A5 #3531D4 #6764DF #9896E9

Accessibility & contrast

On white

8.26
#3531D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3531D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531D4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531D4#FFFFFF#000000##FFFFFF
##3531D41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0046D1
Tritanopia (blue-blind)
#006282
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3531d4;
/* rgb */ color: rgb(53, 49, 212);
/* oklch */ color: oklch(44.9% 0.236 272.5);
Tailwind
colors: {
  custom: {
    50: '#866ce3',
    500: '#3531d4',
    950: '#000000',
  },
}
SCSS
$custom: #3531d4;
$custom-light: #866ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3531d4",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 241.472,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.23625,
    "h": 272.5
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#3531D4
secondary
#D3D48C
accent
#E83FE4
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3531D4

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

Preview Lab → · Contrast checker → · Palette generator →

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