#3E35A5#3E35A5

#3E35A5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.173 H 279.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3E35A5
RGBrgb(62, 53, 165)
HSLhsl(245, 51%, 43%)
HSVhsv(245, 68%, 65%)
CMYKcmyk(62.4%, 67.9%, 0%, 35.3%)
CIE-LABlab(30.12, 37.62, -59.12)
CIE-LCHlch(30.12, 70.08, 302.47°)
OKLaboklab(41.35% 0.0279 -0.1704)
OKLCHoklch(41.35% 0.173 279.3)
XYZxyz(10.0491, 6.2862, 36.2738)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E35A5 #9CA535
analogous
#3564A5 #3E35A5 #7635A5
triadic
#3E35A5 #A53E35 #35A53E
tetradic
#3E35A5 #A53564 #9CA535 #35A576
square
#3E35A5 #A53564 #9CA535 #35A576
split-complementary
#3E35A5 #A57635 #64A535
monochromatic
#1B1748 #2D2677 #3E35A5 #5A50C7 #867FD6

Accessibility & contrast

On white

9.30
#3E35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3E35A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E35A5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E35A5#FFFFFF#000000##FFFFFF
##3E35A51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e35a5;
/* rgb */ color: rgb(62, 53, 165);
/* oklch */ color: oklch(41.3% 0.173 279.3);
Tailwind
colors: {
  custom: {
    50: '#7f6dc1',
    500: '#3e35a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e35a5;
$custom-light: #7f6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e35a5",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 244.821,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.17266,
    "h": 279.3
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#3E35A5
secondary
#B9BF77
accent
#DB4DCF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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