#3F78D2#3F78D2

#3F78D2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.151 H 259.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3F78D2
RGBrgb(63, 120, 210)
HSLhsl(217, 62%, 54%)
HSVhsv(217, 70%, 82%)
CMYKcmyk(70%, 42.9%, 0%, 17.6%)
CIE-LABlab(50.85, 11.19, -51.91)
CIE-LCHlch(50.85, 53.10, 282.16°)
OKLaboklab(57.97% -0.0282 -0.1484)
OKLCHoklch(57.97% 0.151 259.2)
XYZxyz(20.3950, 19.1407, 63.5799)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78D2 #D2993F
analogous
#3FC1D2 #3F78D2 #4F3FD2
triadic
#3F78D2 #D23F78 #78D23F
tetradic
#3F78D2 #D23FC1 #D2993F #3FD24F
square
#3F78D2 #D23FC1 #D2993F #3FD24F
split-complementary
#3F78D2 #D24F3F #C1D23F
monochromatic
#1D417A #285BAC #3F78D2 #719BDE #A2BEE9

Accessibility & contrast

On white

4.35
#3F78D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3F78D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78D2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78D2#FFFFFF#000000##000000
##3F78D21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D5
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f78d2;
/* rgb */ color: rgb(63, 120, 210);
/* oklch */ color: oklch(58.0% 0.151 259.2);
Tailwind
colors: {
  custom: {
    50: '#859ee0',
    500: '#3f78d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f78d2;
$custom-light: #859ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78d2",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 216.735,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57966,
    "c": 0.15102,
    "h": 259.2
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#3F78D2
secondary
#D6BD97
accent
#A643E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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