#4F78EA#4F78EA

#4F78EA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.178 H 266.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F78EA
RGBrgb(79, 120, 234)
HSLhsl(224, 79%, 61%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(66.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(52.99, 22.09, -61.96)
CIE-LCHlch(52.99, 65.79, 289.62°)
OKLaboklab(60.26% -0.0116 -0.1777)
OKLCHoklch(60.26% 0.178 266.3)
XYZxyz(24.7871, 21.0333, 80.5795)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78EA #EAC14F
analogous
#4FC6EA #4F78EA #744FEA
triadic
#4F78EA #EA4F78 #78EA4F
tetradic
#4F78EA #EA4FC6 #EAC14F #4FEA74
square
#4F78EA #EA4FC6 #EAC14F #4FEA74
split-complementary
#4F78EA #EA744F #C6EA4F
monochromatic
#143CAA #1B4FE1 #4F78EA #86A2F1 #BCCCF7

Accessibility & contrast

On white

4.03
#4F78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78EA#FFFFFF#000000##000000
##4F78EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#0978E8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f78ea;
/* rgb */ color: rgb(79, 120, 234);
/* oklch */ color: oklch(60.3% 0.178 266.3);
Tailwind
colors: {
  custom: {
    50: '#909ef1',
    500: '#4f78ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ea;
$custom-light: #909ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ea",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 224.129,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60259,
    "c": 0.17804,
    "h": 266.3
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

primary
#4F78EA
secondary
#E7D8AD
accent
#A40BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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