#3F78D9#3F78D9

#3F78D9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.160 H 260.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3F78D9
RGBrgb(63, 120, 217)
HSLhsl(218, 67%, 55%)
HSVhsv(218, 71%, 85%)
CMYKcmyk(71%, 44.7%, 0%, 14.9%)
CIE-LABlab(51.26, 13.71, -55.21)
CIE-LCHlch(51.26, 56.89, 283.94°)
OKLaboklab(58.42% -0.027 -0.1581)
OKLCHoklch(58.42% 0.16 260.3)
XYZxyz(21.2862, 19.4972, 68.2737)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78D9 #D9A03F
analogous
#3FC5D9 #3F78D9 #533FD9
triadic
#3F78D9 #D93F78 #78D93F
tetradic
#3F78D9 #D93FC5 #D9A03F #3FD953
square
#3F78D9 #D93FC5 #D9A03F #3FD953
split-complementary
#3F78D9 #D9533F #C5D93F
monochromatic
#1A4184 #245AB7 #3F78D9 #729CE3 #A5C0ED

Accessibility & contrast

On white

4.29
#3F78D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#3F78D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78D9#FFFFFF#000000##000000
##3F78D91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#2974D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f78d9;
/* rgb */ color: rgb(63, 120, 217);
/* oklch */ color: oklch(58.4% 0.160 260.3);
Tailwind
colors: {
  custom: {
    50: '#869ee5',
    500: '#3f78d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f78d9;
$custom-light: #869ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78d9",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 217.792,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.16035,
    "h": 260.3
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#3F78D9
secondary
#DAC29A
accent
#AA3EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3F78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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