#3F7AD5#3F7AD5

#3F7AD5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.153 H 258.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3F7AD5
RGBrgb(63, 122, 213)
HSLhsl(216, 64%, 54%)
HSVhsv(216, 70%, 84%)
CMYKcmyk(70.4%, 42.7%, 0%, 16.5%)
CIE-LABlab(51.58, 11.03, -52.43)
CIE-LCHlch(51.58, 53.58, 281.88°)
OKLaboklab(58.59% -0.0295 -0.1499)
OKLCHoklch(58.59% 0.153 258.9)
XYZxyz(21.0153, 19.7777, 65.6478)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7AD5 #D59A3F
analogous
#3FC5D5 #3F7AD5 #4F3FD5
triadic
#3F7AD5 #D53F7A #7AD53F
tetradic
#3F7AD5 #D53FC5 #D59A3F #3FD54F
square
#3F7AD5 #D53FC5 #D59A3F #3FD54F
split-complementary
#3F7AD5 #D54F3F #C5D53F
monochromatic
#1C427E #275DB0 #3F7AD5 #719DE0 #A3C0EB

Accessibility & contrast

On white

4.24
#3F7AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3F7AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7AD5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7AD5#FFFFFF#000000##000000
##3F7AD51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D9
Deuteranopia (green-blind)
#3475D3
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7ad5;
/* rgb */ color: rgb(63, 122, 213);
/* oklch */ color: oklch(58.6% 0.153 258.9);
Tailwind
colors: {
  custom: {
    50: '#859fe2',
    500: '#3f7ad5',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ad5;
$custom-light: #859fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ad5",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 213
  },
  "hsl": {
    "h": 216.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.15275,
    "h": 258.9
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#3F7AD5
secondary
#D8BF98
accent
#A641E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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