#3835C5#3835C5

#3835C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.214 H 274.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3835C5
RGBrgb(56, 53, 197)
HSLhsl(241, 58%, 49%)
HSVhsv(241, 73%, 77%)
CMYKcmyk(71.6%, 73.1%, 0%, 22.7%)
CIE-LABlab(32.74, 47.40, -73.85)
CIE-LCHlch(32.74, 87.75, 302.69°)
OKLaboklab(44.03% 0.0152 -0.2136)
OKLCHoklch(44.03% 0.214 274.1)
XYZxyz(12.9787, 7.4169, 53.5601)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835C5 #C2C535
analogous
#357AC5 #3835C5 #8035C5
triadic
#3835C5 #C53835 #35C538
tetradic
#3835C5 #C5357A #C2C535 #35C580
square
#3835C5 #C5357A #C2C535 #35C580
split-complementary
#3835C5 #C58035 #7AC535
monochromatic
#1D1B65 #2A2895 #3835C5 #6562D5 #9493E2

Accessibility & contrast

On white

8.46
#3835C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3835C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835C5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835C5#FFFFFF#000000##FFFFFF
##3835C51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3835c5;
/* rgb */ color: rgb(56, 53, 197);
/* oklch */ color: oklch(44.0% 0.214 274.1);
Tailwind
colors: {
  custom: {
    50: '#836ed8',
    500: '#3835c5',
    950: '#000000',
  },
}
SCSS
$custom: #3835c5;
$custom-light: #836ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3835c5",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 241.25,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.21413,
    "h": 274.1
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#3835C5
secondary
#CBCD89
accent
#E147DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3835C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3835C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva