#3835CA#3835CA

#3835CA is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.220 H 273.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3835CA
RGBrgb(56, 53, 202)
HSLhsl(241, 58%, 50%)
HSVhsv(241, 74%, 79%)
CMYKcmyk(72.3%, 73.8%, 0%, 20.8%)
CIE-LABlab(33.24, 49.02, -75.94)
CIE-LCHlch(33.24, 90.38, 302.84°)
OKLaboklab(44.54% 0.0143 -0.2197)
OKLCHoklch(44.54% 0.22 273.7)
XYZxyz(13.5611, 7.6499, 56.6275)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835CA #C7CA35
analogous
#357DCA #3835CA #8235CA
triadic
#3835CA #CA3835 #35CA38
tetradic
#3835CA #CA357D #C7CA35 #35CA82
square
#3835CA #CA357D #C7CA35 #35CA82
split-complementary
#3835CA #CA8235 #7DCA35
monochromatic
#1D1C69 #2B289A #3835CA #6865D7 #9896E3

Accessibility & contrast

On white

8.30
#3835CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3835CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835CA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835CA#FFFFFF#000000##FFFFFF
##3835CA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3835ca;
/* rgb */ color: rgb(56, 53, 202);
/* oklch */ color: oklch(44.5% 0.220 273.7);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3835ca',
    950: '#000000',
  },
}
SCSS
$custom: #3835ca;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3835ca",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 241.208,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.22013,
    "h": 273.7
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#3835CA
secondary
#CDCF8C
accent
#E246DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3835CA

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

Preview Lab → · Contrast checker → · Palette generator →

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