#3F40DE#3F40DE

#3F40DE is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.232 H 273.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3F40DE
RGBrgb(63, 64, 222)
HSLhsl(240, 71%, 56%)
HSVhsv(240, 72%, 87%)
CMYKcmyk(71.6%, 71.2%, 0%, 12.9%)
CIE-LABlab(37.83, 50.02, -79.90)
CIE-LCHlch(37.83, 94.26, 302.05°)
OKLaboklab(48.52% 0.0135 -0.2311)
OKLCHoklch(48.52% 0.232 273.3)
XYZxyz(17.0637, 9.9958, 70.1232)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F40DE #DEDD3F
analogous
#3F8FDE #3F40DE #8E3FDE
triadic
#3F40DE #DE3F40 #40DE3F
tetradic
#3F40DE #DE3F8F #DEDD3F #3FDE8E
square
#3F40DE #DE3F8F #DEDD3F #3FDE8E
split-complementary
#3F40DE #DE8E3F #8FDE3F
monochromatic
#18198B #2122BF #3F40DE #7374E7 #A7A8F0

Accessibility & contrast

On white

7.00
#3F40DE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3F40DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F40DE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F40DE#FFFFFF#000000##FFFFFF
##3F40DE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E3
Deuteranopia (green-blind)
#0051DB
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f40de;
/* rgb */ color: rgb(63, 64, 222);
/* oklch */ color: oklch(48.5% 0.232 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b76ea',
    500: '#3f40de',
    950: '#000000',
  },
}
SCSS
$custom: #3f40de;
$custom-light: #8b76ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3f40de",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 239.623,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.23151,
    "h": 273.3
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#3F40DE
secondary
#DDDD9B
accent
#EC3AED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3F40DE

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

Preview Lab → · Contrast checker → · Palette generator →

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