#3F7ED7#3F7ED7

#3F7ED7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.151 H 257.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F7ED7
RGBrgb(63, 126, 215)
HSLhsl(215, 66%, 55%)
HSVhsv(215, 71%, 84%)
CMYKcmyk(70.7%, 41.4%, 0%, 15.7%)
CIE-LABlab(52.82, 9.29, -51.59)
CIE-LCHlch(52.82, 52.42, 280.21°)
OKLaboklab(59.58% -0.0327 -0.1473)
OKLCHoklch(59.58% 0.151 257.5)
XYZxyz(21.7720, 20.8824, 67.1601)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7ED7 #D7983F
analogous
#3FCAD7 #3F7ED7 #4C3FD7
triadic
#3F7ED7 #D73F7E #7ED73F
tetradic
#3F7ED7 #D73FCA #D7983F #3FD74C
square
#3F7ED7 #D73FCA #D7983F #3FD74C
split-complementary
#3F7ED7 #D74C3F #CAD73F
monochromatic
#1B4581 #2560B3 #3F7ED7 #72A0E2 #A4C2EC

Accessibility & contrast

On white

4.06
#3F7ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3F7ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7ED7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7ED7#FFFFFF#000000##000000
##3F7ED71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DA
Deuteranopia (green-blind)
#3A78D5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f7ed7;
/* rgb */ color: rgb(63, 126, 215);
/* oklch */ color: oklch(59.6% 0.151 257.5);
Tailwind
colors: {
  custom: {
    50: '#86a2e4',
    500: '#3f7ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ed7;
$custom-light: #86a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ed7",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 215.132,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.15093,
    "h": 257.5
  },
  "luminance": 0.20885
}

Semantic roles & 50–950 ramp

primary
#3F7ED7
secondary
#D9BE99
accent
#A23FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0F15
muted
#7D7E84

Preview Lab

Preview with #3F7ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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