#3F35AC#3F35AC

#3F35AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.181 H 278.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3F35AC
RGBrgb(63, 53, 172)
HSLhsl(245, 53%, 44%)
HSVhsv(245, 69%, 67%)
CMYKcmyk(63.4%, 69.2%, 0%, 32.5%)
CIE-LABlab(30.83, 40.06, -62.16)
CIE-LCHlch(30.83, 73.96, 302.80°)
OKLaboklab(42.08% 0.0282 -0.1793)
OKLCHoklch(42.08% 0.181 278.9)
XYZxyz(10.7670, 6.5807, 39.7245)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35AC #A2AC35
analogous
#3567AC #3F35AC #7B35AC
triadic
#3F35AC #AC3F35 #35AC3F
tetradic
#3F35AC #AC3567 #A2AC35 #35AC7B
square
#3F35AC #AC3567 #A2AC35 #35AC7B
split-complementary
#3F35AC #AC7B35 #67AC35
monochromatic
#1D184E #2E277D #3F35AC #5E54CA #8A83D9

Accessibility & contrast

On white

9.07
#3F35AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3F35AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35AC
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35AC#FFFFFF#000000##FFFFFF
##3F35AC1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f35ac;
/* rgb */ color: rgb(63, 53, 172);
/* oklch */ color: oklch(42.1% 0.181 278.9);
Tailwind
colors: {
  custom: {
    50: '#816dc6',
    500: '#3f35ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f35ac;
$custom-light: #816dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35ac",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 245.042,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.18149,
    "h": 278.9
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#3F35AC
secondary
#BCC27B
accent
#DC4CD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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