#3F42CE#3F42CE

#3F42CE is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.210 H 274.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3F42CE
RGBrgb(63, 66, 206)
HSLhsl(239, 59%, 53%)
HSVhsv(239, 69%, 81%)
CMYKcmyk(69.4%, 68%, 0%, 19.2%)
CIE-LABlab(36.76, 43.60, -72.46)
CIE-LCHlch(36.76, 84.56, 301.04°)
OKLaboklab(47.29% 0.0146 -0.2094)
OKLCHoklch(47.29% 0.21 274)
XYZxyz(15.1350, 9.4080, 59.3989)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42CE #CECB3F
analogous
#3F8ACE #3F42CE #833FCE
triadic
#3F42CE #CE3F42 #42CE3F
tetradic
#3F42CE #CE3F8A #CECB3F #3FCE83
square
#3F42CE #CE3F8A #CECB3F #3FCE83
split-complementary
#3F42CE #CE833F #8ACE3F
monochromatic
#1E2075 #2A2DA6 #3F42CE #7072DA #A1A2E7

Accessibility & contrast

On white

7.29
#3F42CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F42CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F42CE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42CE#FFFFFF#000000##FFFFFF
##3F42CE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f42ce;
/* rgb */ color: rgb(63, 66, 206);
/* oklch */ color: oklch(47.3% 0.210 274.0);
Tailwind
colors: {
  custom: {
    50: '#8777de',
    500: '#3f42ce',
    950: '#000000',
  },
}
SCSS
$custom: #3f42ce;
$custom-light: #8777de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42ce",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 238.741,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.2099,
    "h": 274
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#3F42CE
secondary
#D3D295
accent
#DF45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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