#3F78C8#3F78C8

#3F78C8 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.3% C 0.138 H 257.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3F78C8
RGBrgb(63, 120, 200)
HSLhsl(215, 55%, 52%)
HSVhsv(215, 69%, 78%)
CMYKcmyk(68.5%, 40%, 0%, 21.6%)
CIE-LABlab(50.28, 7.60, -47.11)
CIE-LCHlch(50.28, 47.72, 279.17°)
OKLaboklab(57.34% -0.0303 -0.1343)
OKLCHoklch(57.34% 0.138 257.3)
XYZxyz(19.1879, 18.6579, 57.2225)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78C8 #C88F3F
analogous
#3FBDC8 #3F78C8 #4A3FC8
triadic
#3F78C8 #C83F78 #78C83F
tetradic
#3F78C8 #C83FBD #C88F3F #3FC84A
square
#3F78C8 #C83FBD #C88F3F #3FC84A
split-complementary
#3F78C8 #C84A3F #BDC83F
monochromatic
#1F406D #2D5C9D #3F78C8 #6F99D6 #9EBBE3

Accessibility & contrast

On white

4.44
#3F78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3F78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78C8#FFFFFF#000000##000000
##3F78C81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f78c8;
/* rgb */ color: rgb(63, 120, 200);
/* oklch */ color: oklch(57.3% 0.138 257.3);
Tailwind
colors: {
  custom: {
    50: '#839ed9',
    500: '#3f78c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f78c8;
$custom-light: #839ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78c8",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 215.036,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.13767,
    "h": 257.3
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

primary
#3F78C8
secondary
#D0B693
accent
#A049DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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