#3F7DE2#3F7DE2

#3F7DE2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.167 H 259.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3F7DE2
RGBrgb(63, 125, 226)
HSLhsl(217, 74%, 57%)
HSVhsv(217, 72%, 89%)
CMYKcmyk(72.1%, 44.7%, 0%, 11.4%)
CIE-LABlab(53.18, 13.86, -57.20)
CIE-LCHlch(53.18, 58.86, 283.62°)
OKLaboklab(60.07% -0.0297 -0.1638)
OKLCHoklch(60.07% 0.167 259.7)
XYZxyz(23.1060, 21.2125, 74.8134)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7DE2 #E2A43F
analogous
#3FCFE2 #3F7DE2 #533FE2
triadic
#3F7DE2 #E23F7D #7DE23F
tetradic
#3F7DE2 #E23FCF #E2A43F #3FE253
square
#3F7DE2 #E23FCF #E2A43F #3FE253
split-complementary
#3F7DE2 #E2533F #CFE23F
monochromatic
#164591 #1E5EC6 #3F7DE2 #74A1EA #A9C5F2

Accessibility & contrast

On white

4.01
#3F7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#3F7DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7DE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7DE2#FFFFFF#000000##000000
##3F7DE21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f7de2;
/* rgb */ color: rgb(63, 125, 226);
/* oklch */ color: oklch(60.1% 0.167 259.7);
Tailwind
colors: {
  custom: {
    50: '#88a2ec',
    500: '#3f7de2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7de2;
$custom-light: #88a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7de2",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 217.178,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60069,
    "c": 0.16653,
    "h": 259.7
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#3F7DE2
secondary
#E0C69D
accent
#AA37F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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