#3E35A2#3E35A2

#3E35A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.169 H 279.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3E35A2
RGBrgb(62, 53, 162)
HSLhsl(245, 51%, 42%)
HSVhsv(245, 67%, 64%)
CMYKcmyk(61.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(29.86, 36.63, -57.75)
CIE-LCHlch(29.86, 68.38, 302.39°)
OKLaboklab(41.08% 0.0283 -0.1664)
OKLCHoklch(41.08% 0.169 279.6)
XYZxyz(9.7792, 6.1783, 34.8526)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E35A2 #99A235
analogous
#3563A2 #3E35A2 #7535A2
triadic
#3E35A2 #A23E35 #35A23E
tetradic
#3E35A2 #A23563 #99A235 #35A275
square
#3E35A2 #A23563 #99A235 #35A275
split-complementary
#3E35A2 #A27535 #63A235
monochromatic
#1B1746 #2C2674 #3E35A2 #594FC5 #847DD4

Accessibility & contrast

On white

9.39
#3E35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3E35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E35A2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E35A2#FFFFFF#000000##FFFFFF
##3E35A21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e35a2;
/* rgb */ color: rgb(62, 53, 162);
/* oklch */ color: oklch(41.1% 0.169 279.6);
Tailwind
colors: {
  custom: {
    50: '#7f6dbe',
    500: '#3e35a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e35a2;
$custom-light: #7f6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e35a2",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 244.954,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.16874,
    "h": 279.6
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#3E35A2
secondary
#B8BD75
accent
#DA4ECF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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