#4F78DB#4F78DB

#4F78DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.158 H 265.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F78DB
RGBrgb(79, 120, 219)
HSLhsl(222, 66%, 58%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(63.9%, 45.2%, 0%, 14.1%)
CIE-LABlab(52.07, 16.91, -55.01)
CIE-LCHlch(52.07, 57.55, 287.09°)
OKLaboklab(59.27% -0.0136 -0.1572)
OKLCHoklch(59.27% 0.158 265)
XYZxyz(22.7227, 20.2076, 69.7071)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78DB #DBB24F
analogous
#4FBEDB #4F78DB #6C4FDB
triadic
#4F78DB #DB4F78 #78DB4F
tetradic
#4F78DB #DB4FBE #DBB24F #4FDB6C
square
#4F78DB #DB4FBE #DBB24F #4FDB6C
split-complementary
#4F78DB #DB6C4F #BEDB4F
monochromatic
#1E4092 #2856C5 #4F78DB #829FE5 #B5C6F0

Accessibility & contrast

On white

4.17
#4F78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78DB#FFFFFF#000000##000000
##4F78DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f78db;
/* rgb */ color: rgb(79, 120, 219);
/* oklch */ color: oklch(59.3% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#8d9ee7',
    500: '#4f78db',
    950: '#000000',
  },
}
SCSS
$custom: #4f78db;
$custom-light: #8d9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78db",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 222.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.15779,
    "h": 265
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#4F78DB
secondary
#DFCEA7
accent
#B73FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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