#3F78D7#3F78D7

#3F78D7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.158 H 260.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3F78D7
RGBrgb(63, 120, 215)
HSLhsl(218, 66%, 55%)
HSVhsv(218, 71%, 84%)
CMYKcmyk(70.7%, 44.2%, 0%, 15.7%)
CIE-LABlab(51.14, 12.99, -54.27)
CIE-LCHlch(51.14, 55.80, 283.46°)
OKLaboklab(58.29% -0.0273 -0.1553)
OKLCHoklch(58.29% 0.158 260)
XYZxyz(21.0277, 19.3938, 66.9120)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78D7 #D79E3F
analogous
#3FC4D7 #3F78D7 #523FD7
triadic
#3F78D7 #D73F78 #78D73F
tetradic
#3F78D7 #D73FC4 #D79E3F #3FD752
square
#3F78D7 #D73FC4 #D79E3F #3FD752
split-complementary
#3F78D7 #D7523F #C4D73F
monochromatic
#1B4181 #255BB3 #3F78D7 #729CE2 #A4BFEC

Accessibility & contrast

On white

4.30
#3F78D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3F78D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78D7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78D7#FFFFFF#000000##000000
##3F78D71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DB
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f78d7;
/* rgb */ color: rgb(63, 120, 215);
/* oklch */ color: oklch(58.3% 0.158 260.0);
Tailwind
colors: {
  custom: {
    50: '#869ee4',
    500: '#3f78d7',
    950: '#000000',
  },
}
SCSS
$custom: #3f78d7;
$custom-light: #869ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78d7",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 217.5,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.15769,
    "h": 260
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#3F78D7
secondary
#D9C199
accent
#A93FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3F78D7

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

Preview Lab → · Contrast checker → · Palette generator →

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