#3F7BD5#3F7BD5

#3F7BD5 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.152 H 258.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3F7BD5
RGBrgb(63, 123, 213)
HSLhsl(216, 64%, 54%)
HSVhsv(216, 70%, 84%)
CMYKcmyk(70.4%, 42.3%, 0%, 16.5%)
CIE-LABlab(51.86, 10.41, -51.99)
CIE-LCHlch(51.86, 53.02, 281.33°)
OKLaboklab(58.81% -0.0304 -0.1485)
OKLCHoklch(58.81% 0.152 258.4)
XYZxyz(21.1387, 20.0245, 65.6890)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD5 #D5993F
analogous
#3FC6D5 #3F7BD5 #4E3FD5
triadic
#3F7BD5 #D53F7B #7BD53F
tetradic
#3F7BD5 #D53FC6 #D5993F #3FD54E
square
#3F7BD5 #D53FC6 #D5993F #3FD54E
split-complementary
#3F7BD5 #D54E3F #C6D53F
monochromatic
#1C437E #275EB0 #3F7BD5 #719EE0 #A3C0EB

Accessibility & contrast

On white

4.20
#3F7BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3F7BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BD5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BD5#FFFFFF#000000##000000
##3F7BD51.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D8
Deuteranopia (green-blind)
#3675D3
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7bd5;
/* rgb */ color: rgb(63, 123, 213);
/* oklch */ color: oklch(58.8% 0.152 258.4);
Tailwind
colors: {
  custom: {
    50: '#85a0e2',
    500: '#3f7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd5;
$custom-light: #85a0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd5",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 216,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.15163,
    "h": 258.4
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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