#3F78D1#3F78D1

#3F78D1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.150 H 259.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3F78D1
RGBrgb(63, 120, 209)
HSLhsl(217, 61%, 53%)
HSVhsv(217, 70%, 82%)
CMYKcmyk(69.9%, 42.6%, 0%, 18%)
CIE-LABlab(50.79, 10.83, -51.43)
CIE-LCHlch(50.79, 52.56, 281.89°)
OKLaboklab(57.9% -0.0284 -0.147)
OKLCHoklch(57.9% 0.15 259)
XYZxyz(20.2708, 19.0910, 62.9259)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78D1 #D1983F
analogous
#3FC1D1 #3F78D1 #4F3FD1
triadic
#3F78D1 #D13F78 #78D13F
tetradic
#3F78D1 #D13FC1 #D1983F #3FD14F
square
#3F78D1 #D13FC1 #D1983F #3FD14F
split-complementary
#3F78D1 #D14F3F #C1D13F
monochromatic
#1D4179 #295BAA #3F78D1 #709BDD #A2BDE9

Accessibility & contrast

On white

4.36
#3F78D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#3F78D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78D1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78D1#FFFFFF#000000##000000
##3F78D11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D4
Deuteranopia (green-blind)
#3473CF
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f78d1;
/* rgb */ color: rgb(63, 120, 209);
/* oklch */ color: oklch(57.9% 0.150 259.0);
Tailwind
colors: {
  custom: {
    50: '#859edf',
    500: '#3f78d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f78d1;
$custom-light: #859edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78d1",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 216.575,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.14969,
    "h": 259
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#3F78D1
secondary
#D5BD97
accent
#A643E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F78D1

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

Preview Lab → · Contrast checker → · Palette generator →

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