#4F78C8#4F78C8

#4F78C8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.132 H 262.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F78C8
RGBrgb(79, 120, 200)
HSLhsl(220, 52%, 55%)
HSVhsv(220, 61%, 78%)
CMYKcmyk(60.5%, 40%, 0%, 21.6%)
CIE-LABlab(50.99, 10.41, -45.94)
CIE-LCHlch(50.99, 47.11, 282.77°)
OKLaboklab(58.09% -0.0171 -0.1306)
OKLCHoklch(58.09% 0.132 262.5)
XYZxyz(20.3626, 19.2636, 57.2775)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78C8 #C89F4F
analogous
#4FB5C8 #4F78C8 #624FC8
triadic
#4F78C8 #C84F78 #78C84F
tetradic
#4F78C8 #C84FB5 #C89F4F #4FC862
square
#4F78C8 #C84FB5 #C89F4F #4FC862
split-complementary
#4F78C8 #C8624F #B5C84F
monochromatic
#254177 #345BA6 #4F78C8 #7E9CD7 #ACC0E5

Accessibility & contrast

On white

4.33
#4F78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4F78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78C8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78C8#FFFFFF#000000##000000
##4F78C81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f78c8;
/* rgb */ color: rgb(79, 120, 200);
/* oklch */ color: oklch(58.1% 0.132 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ed9',
    500: '#4f78c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f78c8;
$custom-light: #8a9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78c8",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 219.669,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.13171,
    "h": 262.5
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#4F78C8
secondary
#D3C2A0
accent
#AB4CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #4F78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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