#3F3FC5#3F3FC5

#3F3FC5 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.202 H 275.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3F3FC5
RGBrgb(63, 63, 197)
HSLhsl(240, 54%, 51%)
HSVhsv(240, 68%, 77%)
CMYKcmyk(68%, 68%, 0%, 22.7%)
CIE-LABlab(35.29, 42.38, -69.64)
CIE-LCHlch(35.29, 81.52, 301.33°)
OKLaboklab(45.98% 0.0176 -0.2011)
OKLCHoklch(45.98% 0.202 275)
XYZxyz(13.9021, 8.6417, 53.7479)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FC5 #C5C53F
analogous
#3F82C5 #3F3FC5 #823FC5
triadic
#3F3FC5 #C53F3F #3FC53F
tetradic
#3F3FC5 #C53F82 #C5C53F #3FC582
square
#3F3FC5 #C53F82 #C5C53F #3FC582
split-complementary
#3F3FC5 #C5823F #82C53F
monochromatic
#20206A #2E2E99 #3F3FC5 #6E6ED3 #9D9DE1

Accessibility & contrast

On white

7.70
#3F3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F3FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FC5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FC5#FFFFFF#000000##FFFFFF
##3F3FC51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f3fc5;
/* rgb */ color: rgb(63, 63, 197);
/* oklch */ color: oklch(46.0% 0.202 275.0);
Tailwind
colors: {
  custom: {
    50: '#8575d8',
    500: '#3f3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fc5;
$custom-light: #8575d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fc5",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.20192,
    "h": 275
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#3F3FC5
secondary
#CECE92
accent
#DD4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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