#3F39D1#3F39D1

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

Color values

HEX#3F39D1
RGBrgb(63, 57, 209)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(69.9%, 72.7%, 0%, 18%)
CIE-LABlab(35.17, 49.74, -76.80)
CIE-LCHlch(35.17, 91.50, 302.93°)
OKLaboklab(46.24% 0.0194 -0.222)
OKLCHoklch(46.24% 0.223 275)
XYZxyz(15.0178, 8.5850, 61.1749)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F39D1 #CBD139
analogous
#397FD1 #3F39D1 #8B39D1
triadic
#3F39D1 #D13F39 #39D13F
tetradic
#3F39D1 #D1397F #CBD139 #39D18B
square
#3F39D1 #D1397F #CBD139 #39D18B
split-complementary
#3F39D1 #D18B39 #7FD139
monochromatic
#1F1B75 #2C27A6 #3F39D1 #6F6BDD #9F9CE8

Accessibility & contrast

On white

7.73
#3F39D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F39D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F39D1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F39D1#FFFFFF#000000##FFFFFF
##3F39D11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD5
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f39d1;
/* rgb */ color: rgb(63, 57, 209);
/* oklch */ color: oklch(46.2% 0.223 275.0);
Tailwind
colors: {
  custom: {
    50: '#8871e0',
    500: '#3f39d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f39d1;
$custom-light: #8871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f39d1",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 242.368,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.22289,
    "h": 275
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#3F39D1
secondary
#D1D492
accent
#E542DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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