#3F39CC#3F39CC

#3F39CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.217 H 275.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3F39CC
RGBrgb(63, 57, 204)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(69.1%, 72.1%, 0%, 20%)
CIE-LABlab(34.68, 48.14, -74.71)
CIE-LCHlch(34.68, 88.87, 302.80°)
OKLaboklab(45.75% 0.0203 -0.2159)
OKLCHoklch(45.75% 0.217 275.4)
XYZxyz(14.4085, 8.3413, 57.9657)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F39CC #C6CC39
analogous
#397CCC #3F39CC #8839CC
triadic
#3F39CC #CC3F39 #39CC3F
tetradic
#3F39CC #CC397C #C6CC39 #39CC88
square
#3F39CC #CC397C #C6CC39 #39CC88
split-complementary
#3F39CC #CC8839 #7CCC39
monochromatic
#201C6E #2E299F #3F39CC #6E6AD9 #9D9AE5

Accessibility & contrast

On white

7.87
#3F39CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F39CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F39CC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F39CC#FFFFFF#000000##FFFFFF
##3F39CC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f39cc;
/* rgb */ color: rgb(63, 57, 204);
/* oklch */ color: oklch(45.7% 0.217 275.4);
Tailwind
colors: {
  custom: {
    50: '#8771dd',
    500: '#3f39cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f39cc;
$custom-light: #8771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f39cc",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 242.449,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.2169,
    "h": 275.4
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#3F39CC
secondary
#CED190
accent
#E246DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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