#4F78E3#4F78E3

#4F78E3 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.169 H 265.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F78E3
RGBrgb(79, 120, 227)
HSLhsl(223, 73%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(65.2%, 47.1%, 0%, 11%)
CIE-LABlab(52.55, 19.67, -58.74)
CIE-LCHlch(52.55, 61.95, 288.51°)
OKLaboklab(59.79% -0.0125 -0.1682)
OKLCHoklch(59.79% 0.169 265.8)
XYZxyz(23.8012, 20.6390, 75.3876)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78E3 #E3BA4F
analogous
#4FC2E3 #4F78E3 #704FE3
triadic
#4F78E3 #E34F78 #78E34F
tetradic
#4F78E3 #E34FC2 #E3BA4F #4FE370
square
#4F78E3 #E34FC2 #E3BA4F #4FE370
split-complementary
#4F78E3 #E3704F #C2E34F
monochromatic
#193E9E #2253D3 #4F78E3 #84A1EB #B9C9F4

Accessibility & contrast

On white

4.10
#4F78E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4F78E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78E3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78E3#FFFFFF#000000##000000
##4F78E31.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#2177E1
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f78e3;
/* rgb */ color: rgb(79, 120, 227);
/* oklch */ color: oklch(59.8% 0.169 265.8);
Tailwind
colors: {
  custom: {
    50: '#8f9eec',
    500: '#4f78e3',
    950: '#000000',
  },
}
SCSS
$custom: #4f78e3;
$custom-light: #8f9eec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78e3",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 227
  },
  "hsl": {
    "h": 223.378,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.16864,
    "h": 265.8
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#4F78E3
secondary
#E3D4AA
accent
#BD39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F78E3

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

Preview Lab → · Contrast checker → · Palette generator →

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