#3835CC#3835CC

#3835CC is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.223 H 273.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3835CC
RGBrgb(56, 53, 204)
HSLhsl(241, 60%, 50%)
HSVhsv(241, 74%, 80%)
CMYKcmyk(72.5%, 74%, 0%, 20%)
CIE-LABlab(33.45, 49.66, -76.76)
CIE-LCHlch(33.45, 91.43, 302.90°)
OKLaboklab(44.75% 0.0139 -0.2221)
OKLCHoklch(44.75% 0.223 273.6)
XYZxyz(13.7994, 7.7452, 57.8828)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835CC #C9CC35
analogous
#357DCC #3835CC #8335CC
triadic
#3835CC #CC3835 #35CC38
tetradic
#3835CC #CC357D #C9CC35 #35CC83
square
#3835CC #CC357D #C9CC35 #35CC83
split-complementary
#3835CC #CC8335 #7DCC35
monochromatic
#1D1B6B #2A279C #3835CC #6866D8 #9897E5

Accessibility & contrast

On white

8.24
#3835CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3835CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835CC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835CC#FFFFFF#000000##FFFFFF
##3835CC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0047C9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3835cc;
/* rgb */ color: rgb(56, 53, 204);
/* oklch */ color: oklch(44.7% 0.223 273.6);
Tailwind
colors: {
  custom: {
    50: '#856edd',
    500: '#3835cc',
    950: '#000000',
  },
}
SCSS
$custom: #3835cc;
$custom-light: #856edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3835cc",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 241.192,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.22251,
    "h": 273.6
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#3835CC
secondary
#CFD08D
accent
#E345E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3835CC

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

Preview Lab → · Contrast checker → · Palette generator →

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