#3835B6#3835B6

#3835B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.196 H 275.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3835B6
RGBrgb(56, 53, 182)
HSLhsl(241, 55%, 46%)
HSVhsv(241, 71%, 71%)
CMYKcmyk(69.2%, 70.9%, 0%, 28.6%)
CIE-LABlab(31.26, 42.47, -67.44)
CIE-LCHlch(31.26, 79.70, 302.20°)
OKLaboklab(42.54% 0.0177 -0.1949)
OKLCHoklch(42.54% 0.196 275.2)
XYZxyz(11.3447, 6.7633, 44.9545)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835B6 #B3B635
analogous
#3572B6 #3835B6 #7835B6
triadic
#3835B6 #B63835 #35B638
tetradic
#3835B6 #B63572 #B3B635 #35B678
square
#3835B6 #B63572 #B3B635 #35B678
split-complementary
#3835B6 #B67835 #72B635
monochromatic
#1B1957 #292787 #3835B6 #5C59CF #8B89DD

Accessibility & contrast

On white

8.93
#3835B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3835B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835B6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835B6#FFFFFF#000000##FFFFFF
##3835B61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3835b6;
/* rgb */ color: rgb(56, 53, 182);
/* oklch */ color: oklch(42.5% 0.196 275.2);
Tailwind
colors: {
  custom: {
    50: '#806dcd',
    500: '#3835b6',
    950: '#000000',
  },
}
SCSS
$custom: #3835b6;
$custom-light: #806dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3835b6",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 241.395,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.19569,
    "h": 275.2
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#3835B6
secondary
#C5C780
accent
#DE4ADB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3835B6

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

Preview Lab → · Contrast checker → · Palette generator →

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