#3835C6#3835C6

#3835C6 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.215 H 274.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3835C6
RGBrgb(56, 53, 198)
HSLhsl(241, 58%, 49%)
HSVhsv(241, 73%, 78%)
CMYKcmyk(71.7%, 73.2%, 0%, 22.4%)
CIE-LABlab(32.84, 47.72, -74.27)
CIE-LCHlch(32.84, 88.28, 302.72°)
OKLaboklab(44.14% 0.015 -0.2148)
OKLCHoklch(44.14% 0.215 274)
XYZxyz(13.0936, 7.4629, 54.1656)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835C6 #C3C635
analogous
#357BC6 #3835C6 #8035C6
triadic
#3835C6 #C63835 #35C638
tetradic
#3835C6 #C6357B #C3C635 #35C680
square
#3835C6 #C6357B #C3C635 #35C680
split-complementary
#3835C6 #C68035 #7BC635
monochromatic
#1D1B65 #2A2896 #3835C6 #6563D5 #9593E2

Accessibility & contrast

On white

8.42
#3835C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3835C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835C6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835C6#FFFFFF#000000##FFFFFF
##3835C61.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0046C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3835c6;
/* rgb */ color: rgb(56, 53, 198);
/* oklch */ color: oklch(44.1% 0.215 274.0);
Tailwind
colors: {
  custom: {
    50: '#846ed9',
    500: '#3835c6',
    950: '#000000',
  },
}
SCSS
$custom: #3835c6;
$custom-light: #846ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3835c6",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 241.241,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44135,
    "c": 0.21533,
    "h": 274
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#3835C6
secondary
#CCCD8A
accent
#E147DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3835C6

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

Preview Lab → · Contrast checker → · Palette generator →

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