#4F78ED#4F78ED

#4F78ED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.182 H 266.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F78ED
RGBrgb(79, 120, 237)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.18, 23.13, -63.33)
CIE-LCHlch(53.18, 67.43, 290.06°)
OKLaboklab(60.46% -0.0112 -0.1817)
OKLCHoklch(60.46% 0.182 266.5)
XYZxyz(25.2217, 21.2072, 82.8686)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78ED #EDC44F
analogous
#4FC7ED #4F78ED #754FED
triadic
#4F78ED #ED4F78 #78ED4F
tetradic
#4F78ED #ED4FC7 #EDC44F #4FED75
square
#4F78ED #ED4FC7 #EDC44F #4FED75
split-complementary
#4F78ED #ED754F #C7ED4F
monochromatic
#123BB0 #184DE7 #4F78ED #87A3F3 #BECDF8

Accessibility & contrast

On white

4.01
#4F78ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4F78ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78ED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78ED#FFFFFF#000000##000000
##4F78ED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f78ed;
/* rgb */ color: rgb(79, 120, 237);
/* oklch */ color: oklch(60.5% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#919ef3',
    500: '#4f78ed',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ed;
$custom-light: #919ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ed",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 224.43,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.18204,
    "h": 266.5
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#4F78ED
secondary
#E9DAAF
accent
#A608DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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