#3835D2#3835D2

#3835D2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.4% C 0.230 H 273.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3835D2
RGBrgb(56, 53, 210)
HSLhsl(241, 64%, 52%)
HSVhsv(241, 75%, 82%)
CMYKcmyk(73.3%, 74.8%, 0%, 17.6%)
CIE-LABlab(34.06, 51.58, -79.23)
CIE-LCHlch(34.06, 94.54, 303.06°)
OKLaboklab(45.37% 0.0128 -0.2292)
OKLCHoklch(45.37% 0.23 273.2)
XYZxyz(14.5330, 8.0386, 61.7460)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835D2 #CFD235
analogous
#3581D2 #3835D2 #8635D2
triadic
#3835D2 #D23835 #35D238
tetradic
#3835D2 #D23581 #CFD235 #35D286
square
#3835D2 #D23581 #CFD235 #35D286
split-complementary
#3835D2 #D28635 #81D235
monochromatic
#1B1A73 #2725A5 #3835D2 #6967DD #9B99E8

Accessibility & contrast

On white

8.05
#3835D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3835D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835D2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835D2#FFFFFF#000000##FFFFFF
##3835D21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D7
Deuteranopia (green-blind)
#0048CF
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3835d2;
/* rgb */ color: rgb(56, 53, 210);
/* oklch */ color: oklch(45.4% 0.230 273.2);
Tailwind
colors: {
  custom: {
    50: '#866fe1',
    500: '#3835d2',
    950: '#000000',
  },
}
SCSS
$custom: #3835d2;
$custom-light: #866fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#3835d2",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 241.146,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.2296,
    "h": 273.2
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#3835D2
secondary
#D3D48F
accent
#E741E3
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3835D2

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

Preview Lab → · Contrast checker → · Palette generator →

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