#3835CB#3835CB

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

Color values

HEX#3835CB
RGBrgb(56, 53, 203)
HSLhsl(241, 59%, 50%)
HSVhsv(241, 74%, 80%)
CMYKcmyk(72.4%, 73.9%, 0%, 20.4%)
CIE-LABlab(33.34, 49.34, -76.35)
CIE-LCHlch(33.34, 90.90, 302.87°)
OKLaboklab(44.65% 0.0141 -0.2209)
OKLCHoklch(44.65% 0.221 273.6)
XYZxyz(13.6799, 7.6974, 57.2531)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835CB #C8CB35
analogous
#357DCB #3835CB #8335CB
triadic
#3835CB #CB3835 #35CB38
tetradic
#3835CB #CB357D #C8CB35 #35CB83
square
#3835CB #CB357D #C8CB35 #35CB83
split-complementary
#3835CB #CB8335 #7DCB35
monochromatic
#1D1B6A #2A289B #3835CB #6866D8 #9896E4

Accessibility & contrast

On white

8.27
#3835CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3835CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835CB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835CB#FFFFFF#000000##FFFFFF
##3835CB1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3835cb;
/* rgb */ color: rgb(56, 53, 203);
/* oklch */ color: oklch(44.6% 0.221 273.6);
Tailwind
colors: {
  custom: {
    50: '#856edc',
    500: '#3835cb',
    950: '#000000',
  },
}
SCSS
$custom: #3835cb;
$custom-light: #856edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3835cb",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 241.2,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44646,
    "c": 0.22132,
    "h": 273.6
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3835CB

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

Preview Lab → · Contrast checker → · Palette generator →

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