#4F7DEB#4F7DEB

#4F7DEB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.173 H 264.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7DEB
RGBrgb(79, 125, 235)
HSLhsl(222, 80%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(54.37, 19.36, -60.30)
CIE-LCHlch(54.37, 63.33, 287.80°)
OKLaboklab(61.33% -0.016 -0.1727)
OKLCHoklch(61.33% 0.173 264.7)
XYZxyz(25.5482, 22.3252, 81.5439)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DEB #EBBD4F
analogous
#4FCBEB #4F7DEB #6F4FEB
triadic
#4F7DEB #EB4F7D #7DEB4F
tetradic
#4F7DEB #EB4FCB #EBBD4F #4FEB6F
square
#4F7DEB #EB4FCB #EBBD4F #4FEB6F
split-complementary
#4F7DEB #EB6F4F #CBEB4F
monochromatic
#1441AC #1A55E3 #4F7DEB #86A6F1 #BDCEF7

Accessibility & contrast

On white

3.84
#4F7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4F7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DEB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DEB#FFFFFF#000000##000000
##4F7DEB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7deb;
/* rgb */ color: rgb(79, 125, 235);
/* oklch */ color: oklch(61.3% 0.173 264.7);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#4f7deb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7deb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7deb",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 222.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61335,
    "c": 0.17342,
    "h": 264.7
  },
  "luminance": 0.22328
}

Semantic roles & 50–950 ramp

primary
#4F7DEB
secondary
#E8D7AE
accent
#9E0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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