#4F78BB#4F78BB

#4F78BB is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.114 H 259.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4F78BB
RGBrgb(79, 120, 187)
HSLhsl(217, 44%, 52%)
HSVhsv(217, 58%, 73%)
CMYKcmyk(57.8%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.31, 6.05, -39.57)
CIE-LCHlch(50.31, 40.03, 278.69°)
OKLaboklab(57.34% -0.0201 -0.112)
OKLCHoklch(57.34% 0.114 259.8)
XYZxyz(18.9074, 18.6815, 49.6136)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78BB #BB924F
analogous
#4FAEBB #4F78BB #5C4FBB
triadic
#4F78BB #BB4F78 #78BB4F
tetradic
#4F78BB #BB4FAE #BB924F #4FBB5C
square
#4F78BB #BB4FAE #BB924F #4FBB5C
split-complementary
#4F78BB #BB5C4F #AEBB4F
monochromatic
#284068 #395B94 #4F78BB #7B9ACC #A7BCDD

Accessibility & contrast

On white

4.43
#4F78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4F78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78BB#FFFFFF#000000##000000
##4F78BB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f78bb;
/* rgb */ color: rgb(79, 120, 187);
/* oklch */ color: oklch(57.3% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#899ed0',
    500: '#4f78bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f78bb;
$custom-light: #899ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78bb",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 217.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.11376,
    "h": 259.8
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#4F78BB
secondary
#CAB99B
accent
#A354D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F78BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4F78BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva