#3F7BD7#3F7BD7

#3F7BD7 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.154 H 258.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3F7BD7
RGBrgb(63, 123, 215)
HSLhsl(216, 66%, 55%)
HSVhsv(216, 71%, 84%)
CMYKcmyk(70.7%, 42.8%, 0%, 15.7%)
CIE-LABlab(51.98, 11.13, -52.93)
CIE-LCHlch(51.98, 54.09, 281.88°)
OKLaboklab(58.93% -0.03 -0.1513)
OKLCHoklch(58.93% 0.154 258.8)
XYZxyz(21.3942, 20.1267, 67.0341)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD7 #D79B3F
analogous
#3FC7D7 #3F7BD7 #4F3FD7
triadic
#3F7BD7 #D73F7B #7BD73F
tetradic
#3F7BD7 #D73FC7 #D79B3F #3FD74F
square
#3F7BD7 #D73FC7 #D79B3F #3FD74F
split-complementary
#3F7BD7 #D74F3F #C7D73F
monochromatic
#1B4381 #255DB3 #3F7BD7 #729EE2 #A4C1EC

Accessibility & contrast

On white

4.18
#3F7BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3F7BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BD7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BD7#FFFFFF#000000##000000
##3F7BD71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DB
Deuteranopia (green-blind)
#3475D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7bd7;
/* rgb */ color: rgb(63, 123, 215);
/* oklch */ color: oklch(58.9% 0.154 258.8);
Tailwind
colors: {
  custom: {
    50: '#86a0e4',
    500: '#3f7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd7;
$custom-light: #86a0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd7",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 216.316,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.15428,
    "h": 258.8
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#3F7BD7
secondary
#D9C099
accent
#A63FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3F7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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