#3F78D6#3F78D6

#3F78D6 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.156 H 259.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F78D6
RGBrgb(63, 120, 214)
HSLhsl(217, 65%, 54%)
HSVhsv(217, 71%, 84%)
CMYKcmyk(70.6%, 43.9%, 0%, 16.1%)
CIE-LABlab(51.09, 12.63, -53.80)
CIE-LCHlch(51.09, 55.26, 283.21°)
OKLaboklab(58.22% -0.0275 -0.1539)
OKLCHoklch(58.22% 0.156 259.9)
XYZxyz(20.8996, 19.3425, 66.2373)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78D6 #D69D3F
analogous
#3FC4D6 #3F78D6 #523FD6
triadic
#3F78D6 #D63F78 #78D63F
tetradic
#3F78D6 #D63FC4 #D69D3F #3FD652
square
#3F78D6 #D63FC4 #D69D3F #3FD652
split-complementary
#3F78D6 #D6523F #C4D63F
monochromatic
#1B417F #265BB2 #3F78D6 #719BE1 #A4BFEC

Accessibility & contrast

On white

4.31
#3F78D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F78D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78D6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78D6#FFFFFF#000000##000000
##3F78D61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DA
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f78d6;
/* rgb */ color: rgb(63, 120, 214);
/* oklch */ color: oklch(58.2% 0.156 259.9);
Tailwind
colors: {
  custom: {
    50: '#869ee3',
    500: '#3f78d6',
    950: '#000000',
  },
}
SCSS
$custom: #3f78d6;
$custom-light: #869ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78d6",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 217.351,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.15636,
    "h": 259.9
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#3F78D6
secondary
#D8C098
accent
#A840E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3F78D6

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

Preview Lab → · Contrast checker → · Palette generator →

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