#3F42E0#3F42E0

#3F42E0 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.232 H 273.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3F42E0
RGBrgb(63, 66, 224)
HSLhsl(239, 72%, 56%)
HSVhsv(239, 72%, 88%)
CMYKcmyk(71.9%, 70.5%, 0%, 12.2%)
CIE-LABlab(38.43, 49.54, -80.05)
CIE-LCHlch(38.43, 94.14, 301.75°)
OKLaboklab(49% 0.0122 -0.2316)
OKLCHoklch(49% 0.232 273)
XYZxyz(17.4482, 10.3332, 71.5815)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42E0 #E0DD3F
analogous
#3F93E0 #3F42E0 #8D3FE0
triadic
#3F42E0 #E03F42 #42E03F
tetradic
#3F42E0 #E03F93 #E0DD3F #3FE08D
square
#3F42E0 #E03F93 #E0DD3F #3FE08D
split-complementary
#3F42E0 #E08D3F #93E03F
monochromatic
#17198E #1F22C2 #3F42E0 #7476E9 #A8AAF1

Accessibility & contrast

On white

6.85
#3F42E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3F42E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F42E0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42E0#FFFFFF#000000##FFFFFF
##3F42E01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E5
Deuteranopia (green-blind)
#0053DD
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f42e0;
/* rgb */ color: rgb(63, 66, 224);
/* oklch */ color: oklch(49.0% 0.232 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b78eb',
    500: '#3f42e0',
    950: '#000000',
  },
}
SCSS
$custom: #3f42e0;
$custom-light: #8b78eb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42e0",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 238.882,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.23189,
    "h": 273
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#3F42E0
secondary
#DFDD9C
accent
#EC39EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3F42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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