#3F78B2#3F78B2

#3F78B2 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.109 H 250.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3F78B2
RGBrgb(63, 120, 178)
HSLhsl(210, 48%, 47%)
HSVhsv(210, 65%, 70%)
CMYKcmyk(64.6%, 32.6%, 0%, 30.2%)
CIE-LABlab(49.13, -0.15, -36.28)
CIE-LCHlch(49.13, 36.28, 269.77°)
OKLaboklab(56.07% -0.0359 -0.1026)
OKLCHoklch(56.07% 0.109 250.7)
XYZxyz(16.7993, 17.7024, 44.6424)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F78B2 #B2793F
analogous
#3FB2B2 #3F78B2 #403FB2
triadic
#3F78B2 #B23F78 #78B23F
tetradic
#3F78B2 #B23FB2 #B2793F #3FB240
square
#3F78B2 #B23FB2 #B2793F #3FB240
split-complementary
#3F78B2 #B2403F #B2B23F
monochromatic
#1F3B58 #2F5A85 #3F78B2 #6697C9 #93B5D9

Accessibility & contrast

On white

4.62
#3F78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3F78B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F78B2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F78B2#FFFFFF#000000##FFFFFF
##3F78B21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f78b2;
/* rgb */ color: rgb(63, 120, 178);
/* oklch */ color: oklch(56.1% 0.109 250.7);
Tailwind
colors: {
  custom: {
    50: '#7f9ec9',
    500: '#3f78b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f78b2;
$custom-light: #7f9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f78b2",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 210.261,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.10872,
    "h": 250.7
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#3F78B2
secondary
#C4A789
accent
#9450D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3F78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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