#3835B5#3835B5

#3835B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.194 H 275.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3835B5
RGBrgb(56, 53, 181)
HSLhsl(241, 55%, 46%)
HSVhsv(241, 71%, 71%)
CMYKcmyk(69.1%, 70.7%, 0%, 29%)
CIE-LABlab(31.17, 42.13, -67.00)
CIE-LCHlch(31.17, 79.15, 302.16°)
OKLaboklab(42.44% 0.0178 -0.1936)
OKLCHoklch(42.44% 0.194 275.3)
XYZxyz(11.2417, 6.7221, 44.4122)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835B5 #B2B535
analogous
#3572B5 #3835B5 #7835B5
triadic
#3835B5 #B53835 #35B538
tetradic
#3835B5 #B53572 #B2B535 #35B578
square
#3835B5 #B53572 #B2B535 #35B578
split-complementary
#3835B5 #B57835 #72B535
monochromatic
#1B1956 #292786 #3835B5 #5C59CE #8A88DC

Accessibility & contrast

On white

8.96
#3835B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3835B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835B5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835B5#FFFFFF#000000##FFFFFF
##3835B51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3835b5;
/* rgb */ color: rgb(56, 53, 181);
/* oklch */ color: oklch(42.4% 0.194 275.3);
Tailwind
colors: {
  custom: {
    50: '#806dcc',
    500: '#3835b5',
    950: '#000000',
  },
}
SCSS
$custom: #3835b5;
$custom-light: #806dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3835b5",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 241.406,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.19444,
    "h": 275.3
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3835B5

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

Preview Lab → · Contrast checker → · Palette generator →

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