#3E35AB#3E35AB

#3E35AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.180 H 278.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3E35AB
RGBrgb(62, 53, 171)
HSLhsl(245, 53%, 44%)
HSVhsv(245, 69%, 67%)
CMYKcmyk(63.7%, 69%, 0%, 32.9%)
CIE-LABlab(30.66, 39.60, -61.84)
CIE-LCHlch(30.66, 73.43, 302.63°)
OKLaboklab(41.91% 0.027 -0.1784)
OKLCHoklch(41.91% 0.18 278.6)
XYZxyz(10.6080, 6.5098, 39.2177)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E35AB #A2AB35
analogous
#3567AB #3E35AB #7935AB
triadic
#3E35AB #AB3E35 #35AB3E
tetradic
#3E35AB #AB3567 #A2AB35 #35AB79
square
#3E35AB #AB3567 #A2AB35 #35AB79
split-complementary
#3E35AB #AB7935 #67AB35
monochromatic
#1C184E #2D277C #3E35AB #5C53CA #8982D8

Accessibility & contrast

On white

9.12
#3E35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3E35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E35AB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E35AB#FFFFFF#000000##FFFFFF
##3E35AB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e35ab;
/* rgb */ color: rgb(62, 53, 171);
/* oklch */ color: oklch(41.9% 0.180 278.6);
Tailwind
colors: {
  custom: {
    50: '#816dc5',
    500: '#3e35ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e35ab;
$custom-light: #816dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e35ab",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 244.576,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.18041,
    "h": 278.6
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#3E35AB
secondary
#BCC27A
accent
#DC4CD1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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