#3F7CE2#3F7CE2

#3F7CE2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.168 H 260.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3F7CE2
RGBrgb(63, 124, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 72%, 89%)
CMYKcmyk(72.1%, 45.1%, 0%, 11.4%)
CIE-LABlab(52.91, 14.48, -57.65)
CIE-LCHlch(52.91, 59.44, 284.10°)
OKLaboklab(59.86% -0.0289 -0.1652)
OKLCHoklch(59.86% 0.168 260.1)
XYZxyz(22.9801, 20.9605, 74.7714)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CE2 #E2A53F
analogous
#3FCEE2 #3F7CE2 #543FE2
triadic
#3F7CE2 #E23F7C #7CE23F
tetradic
#3F7CE2 #E23FCE #E2A53F #3FE254
square
#3F7CE2 #E23FCE #E2A53F #3FE254
split-complementary
#3F7CE2 #E2543F #CEE23F
monochromatic
#164491 #1E5DC6 #3F7CE2 #74A0EA #A9C5F2

Accessibility & contrast

On white

4.04
#3F7CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3F7CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CE2#FFFFFF#000000##000000
##3F7CE21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f7ce2;
/* rgb */ color: rgb(63, 124, 226);
/* oklch */ color: oklch(59.9% 0.168 260.1);
Tailwind
colors: {
  custom: {
    50: '#88a1ec',
    500: '#3f7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ce2;
$custom-light: #88a1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ce2",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 217.546,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.16768,
    "h": 260.1
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#3F7CE2
secondary
#E0C79D
accent
#AB37F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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