#3E35B3#3E35B3

#3E35B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.191 H 277.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3E35B3
RGBrgb(62, 53, 179)
HSLhsl(244, 54%, 45%)
HSVhsv(244, 70%, 70%)
CMYKcmyk(65.4%, 70.4%, 0%, 29.8%)
CIE-LABlab(31.40, 42.21, -65.41)
CIE-LCHlch(31.40, 77.85, 302.84°)
OKLaboklab(42.66% 0.0258 -0.1888)
OKLCHoklch(42.66% 0.191 277.8)
XYZxyz(11.3938, 6.8241, 43.3558)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E35B3 #AAB335
analogous
#356BB3 #3E35B3 #7D35B3
triadic
#3E35B3 #B33E35 #35B33E
tetradic
#3E35B3 #B3356B #AAB335 #35B37D
square
#3E35B3 #B3356B #AAB335 #35B37D
split-complementary
#3E35B3 #B37D35 #6BB335
monochromatic
#1D1955 #2E2784 #3E35B3 #6058CD #8D87DB

Accessibility & contrast

On white

8.88
#3E35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E35B3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E35B3#FFFFFF#000000##FFFFFF
##3E35B31.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e35b3;
/* rgb */ color: rgb(62, 53, 179);
/* oklch */ color: oklch(42.7% 0.191 277.8);
Tailwind
colors: {
  custom: {
    50: '#826ecb',
    500: '#3e35b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e35b3;
$custom-light: #826ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e35b3",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 244.286,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.19055,
    "h": 277.8
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#3E35B3
secondary
#C0C57F
accent
#DE4AD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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