#3F3FCA#3F3FCA

#3F3FCA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.4% C 0.208 H 274.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3F3FCA
RGBrgb(63, 63, 202)
HSLhsl(240, 57%, 52%)
HSVhsv(240, 69%, 79%)
CMYKcmyk(68.8%, 68.8%, 0%, 20.8%)
CIE-LABlab(35.74, 44.04, -71.80)
CIE-LCHlch(35.74, 84.24, 301.52°)
OKLaboklab(46.45% 0.017 -0.2075)
OKLCHoklch(46.45% 0.208 274.7)
XYZxyz(14.4845, 8.8747, 56.8153)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FCA #CACA3F
analogous
#3F85CA #3F3FCA #853FCA
triadic
#3F3FCA #CA3F3F #3FCA3F
tetradic
#3F3FCA #CA3F85 #CACA3F #3FCA85
square
#3F3FCA #CA3F85 #CACA3F #3FCA85
split-complementary
#3F3FCA #CA853F #85CA3F
monochromatic
#1F1F70 #2C2CA0 #3F3FCA #6F6FD7 #9F9FE4

Accessibility & contrast

On white

7.57
#3F3FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F3FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FCA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FCA#FFFFFF#000000##FFFFFF
##3F3FCA1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f3fca;
/* rgb */ color: rgb(63, 63, 202);
/* oklch */ color: oklch(46.4% 0.208 274.7);
Tailwind
colors: {
  custom: {
    50: '#8675db',
    500: '#3f3fca',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fca;
$custom-light: #8675db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fca",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.20817,
    "h": 274.7
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#3F3FCA
secondary
#D1D194
accent
#E048E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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