#3B35B2#3B35B2

#3B35B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.190 H 276.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3B35B2
RGBrgb(59, 53, 178)
HSLhsl(243, 54%, 45%)
HSVhsv(243, 70%, 70%)
CMYKcmyk(66.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.09, 41.50, -65.34)
CIE-LCHlch(31.09, 77.40, 302.42°)
OKLaboklab(42.35% 0.0221 -0.1887)
OKLCHoklch(42.35% 0.19 276.7)
XYZxyz(11.1100, 6.6894, 42.8165)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B35B2 #ACB235
analogous
#356DB2 #3B35B2 #7935B2
triadic
#3B35B2 #B23B35 #35B23B
tetradic
#3B35B2 #B2356D #ACB235 #35B279
square
#3B35B2 #B2356D #ACB235 #35B279
split-complementary
#3B35B2 #B27935 #6DB235
monochromatic
#1C1954 #2B2783 #3B35B2 #5D57CD #8A86DB

Accessibility & contrast

On white

8.98
#3B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3B35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B35B2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B35B2#FFFFFF#000000##FFFFFF
##3B35B21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b35b2;
/* rgb */ color: rgb(59, 53, 178);
/* oklch */ color: oklch(42.4% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#816dca',
    500: '#3b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b35b2;
$custom-light: #816dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b35b2",
  "rgb": {
    "r": 59,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 242.88,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.18996,
    "h": 276.7
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#3B35B2
secondary
#C1C57E
accent
#DD4AD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3B35B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva