#3E35B2#3E35B2

#3E35B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.189 H 277.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3E35B2
RGBrgb(62, 53, 178)
HSLhsl(244, 54%, 45%)
HSVhsv(244, 70%, 70%)
CMYKcmyk(65.2%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.31, 41.89, -64.97)
CIE-LCHlch(31.31, 77.30, 302.81°)
OKLaboklab(42.57% 0.0259 -0.1875)
OKLCHoklch(42.57% 0.189 277.9)
XYZxyz(11.2930, 6.7838, 42.8251)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E35B2 #A9B235
analogous
#356AB2 #3E35B2 #7C35B2
triadic
#3E35B2 #B23E35 #35B23E
tetradic
#3E35B2 #B2356A #A9B235 #35B27C
square
#3E35B2 #B2356A #A9B235 #35B27C
split-complementary
#3E35B2 #B27C35 #6AB235
monochromatic
#1D1954 #2E2783 #3E35B2 #6057CD #8C86DB

Accessibility & contrast

On white

8.91
#3E35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E35B2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E35B2#FFFFFF#000000##FFFFFF
##3E35B21.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e35b2;
/* rgb */ color: rgb(62, 53, 178);
/* oklch */ color: oklch(42.6% 0.189 277.9);
Tailwind
colors: {
  custom: {
    50: '#826eca',
    500: '#3e35b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e35b2;
$custom-light: #826eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e35b2",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 244.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.1893,
    "h": 277.9
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#3E35B2
secondary
#C0C57E
accent
#DD4AD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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