#3F7CD5#3F7CD5

#3F7CD5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.151 H 258.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3F7CD5
RGBrgb(63, 124, 213)
HSLhsl(216, 64%, 54%)
HSVhsv(216, 70%, 84%)
CMYKcmyk(70.4%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.15, 9.80, -51.54)
CIE-LCHlch(52.15, 52.46, 280.77°)
OKLaboklab(59.02% -0.0313 -0.1472)
OKLCHoklch(59.02% 0.151 258)
XYZxyz(21.2634, 20.2739, 65.7305)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CD5 #D5983F
analogous
#3FC7D5 #3F7CD5 #4D3FD5
triadic
#3F7CD5 #D53F7C #7CD53F
tetradic
#3F7CD5 #D53FC7 #D5983F #3FD54D
square
#3F7CD5 #D53FC7 #D5983F #3FD54D
split-complementary
#3F7CD5 #D54D3F #C7D53F
monochromatic
#1C447E #275FB0 #3F7CD5 #719EE0 #A3C1EB

Accessibility & contrast

On white

4.15
#3F7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3F7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CD5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CD5#FFFFFF#000000##000000
##3F7CD51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D8
Deuteranopia (green-blind)
#3876D3
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7cd5;
/* rgb */ color: rgb(63, 124, 213);
/* oklch */ color: oklch(59.0% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#85a1e2',
    500: '#3f7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cd5;
$custom-light: #85a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cd5",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 215.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.15051,
    "h": 258
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#3F7CD5
secondary
#D8BE98
accent
#A341E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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