#3F78CC#3F78CC

#3F78CC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.6% C 0.143 H 258.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3F78CC
RGBrgb(63, 120, 204)
HSLhsl(216, 58%, 52%)
HSVhsv(216, 69%, 80%)
CMYKcmyk(69.1%, 41.2%, 0%, 20%)
CIE-LABlab(50.51, 9.04, -49.04)
CIE-LCHlch(50.51, 49.87, 280.44°)
OKLaboklab(57.59% -0.0294 -0.1399)
OKLCHoklch(57.59% 0.143 258.1)
XYZxyz(19.6615, 18.8473, 59.7167)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78CC #CC933F
analogous
#3FBECC #3F78CC #4D3FCC
triadic
#3F78CC #CC3F78 #78CC3F
tetradic
#3F78CC #CC3FBE #CC933F #3FCC4D
square
#3F78CC #CC3FBE #CC933F #3FCC4D
split-complementary
#3F78CC #CC4D3F #BECC3F
monochromatic
#1E4072 #2B5BA3 #3F78CC #6F9AD9 #A0BCE6

Accessibility & contrast

On white

4.40
#3F78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3F78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F78CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78CC#FFFFFF#000000##000000
##3F78CC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f78cc;
/* rgb */ color: rgb(63, 120, 204);
/* oklch */ color: oklch(57.6% 0.143 258.1);
Tailwind
colors: {
  custom: {
    50: '#849edc',
    500: '#3f78cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f78cc;
$custom-light: #849edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78cc",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 215.745,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.14301,
    "h": 258.1
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#3F78CC
secondary
#D2B995
accent
#A347E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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