#3531C8#3531C8

#3531C8 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.222 H 273.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3531C8
RGBrgb(53, 49, 200)
HSLhsl(242, 61%, 49%)
HSVhsv(242, 76%, 78%)
CMYKcmyk(73.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(32.08, 50.28, -76.69)
CIE-LCHlch(32.08, 91.70, 303.25°)
OKLaboklab(43.61% 0.0129 -0.2219)
OKLCHoklch(43.61% 0.222 273.3)
XYZxyz(12.9884, 7.1223, 55.3226)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531C8 #C4C831
analogous
#3179C8 #3531C8 #8131C8
triadic
#3531C8 #C83531 #31C835
tetradic
#3531C8 #C83179 #C4C831 #31C881
square
#3531C8 #C83179 #C4C831 #31C881
split-complementary
#3531C8 #C88131 #79C831
monochromatic
#1B1966 #282597 #3531C8 #625FD8 #9290E4

Accessibility & contrast

On white

8.66
#3531C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3531C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531C8
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531C8#FFFFFF#000000##FFFFFF
##3531C81.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0044C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3531c8;
/* rgb */ color: rgb(53, 49, 200);
/* oklch */ color: oklch(43.6% 0.222 273.3);
Tailwind
colors: {
  custom: {
    50: '#836cda',
    500: '#3531c8',
    950: '#000000',
  },
}
SCSS
$custom: #3531c8;
$custom-light: #836cda;
$custom-dark: #000000;
JSON
{
  "hex": "#3531c8",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 241.589,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.22226,
    "h": 273.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#3531C8
secondary
#CCCE86
accent
#E444E0
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3531C8

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

Preview Lab → · Contrast checker → · Palette generator →

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