#4F78BF#4F78BF

#4F78BF is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.6% C 0.119 H 260.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F78BF
RGBrgb(79, 120, 191)
HSLhsl(218, 47%, 53%)
HSVhsv(218, 59%, 75%)
CMYKcmyk(58.6%, 37.2%, 0%, 25.1%)
CIE-LABlab(50.52, 7.38, -41.55)
CIE-LCHlch(50.52, 42.20, 280.08°)
OKLaboklab(57.56% -0.0192 -0.1177)
OKLCHoklch(57.56% 0.119 260.8)
XYZxyz(19.3416, 18.8552, 51.9003)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78BF #BF964F
analogous
#4FB0BF #4F78BF #5E4FBF
triadic
#4F78BF #BF4F78 #78BF4F
tetradic
#4F78BF #BF4FB0 #BF964F #4FBF5E
square
#4F78BF #BF4FB0 #BF964F #4FBF5E
split-complementary
#4F78BF #BF5E4F #B0BF4F
monochromatic
#27416C #385B99 #4F78BF #7C9ACF #A9BDE0

Accessibility & contrast

On white

4.40
#4F78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4F78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78BF#FFFFFF#000000##000000
##4F78BF1.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)
#5A7EC2
Deuteranopia (green-blind)
#4C73BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f78bf;
/* rgb */ color: rgb(79, 120, 191);
/* oklch */ color: oklch(57.6% 0.119 260.8);
Tailwind
colors: {
  custom: {
    50: '#899ed2',
    500: '#4f78bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f78bf;
$custom-light: #899ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78bf",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 218.036,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.11928,
    "h": 260.8
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#4F78BF
secondary
#CDBB9D
accent
#A651D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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