#4F7BF2#4F7BF2

#4F7BF2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.185 H 265.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F7BF2
RGBrgb(79, 123, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 67%, 95%)
CMYKcmyk(67.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(54.28, 23.02, -64.34)
CIE-LCHlch(54.28, 68.34, 289.69°)
OKLaboklab(61.4% -0.0133 -0.1846)
OKLCHoklch(61.4% 0.185 265.9)
XYZxyz(26.3288, 22.2364, 86.8917)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BF2 #F2C64F
analogous
#4FCCF2 #4F7BF2 #754FF2
triadic
#4F7BF2 #F24F7B #7BF24F
tetradic
#4F7BF2 #F24FCC #F2C64F #4FF275
square
#4F7BF2 #F24FCC #F2C64F #4FF275
split-complementary
#4F7BF2 #F2754F #CCF24F
monochromatic
#0E3CB9 #1650EE #4F7BF2 #88A6F6 #C1D0FA

Accessibility & contrast

On white

3.85
#4F7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BF2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BF2#FFFFFF#000000##000000
##4F7BF21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7bf2;
/* rgb */ color: rgb(79, 123, 242);
/* oklch */ color: oklch(61.4% 0.185 265.9);
Tailwind
colors: {
  custom: {
    50: '#91a0f7',
    500: '#4f7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bf2;
$custom-light: #91a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bf2",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 223.804,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.1851,
    "h": 265.9
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#4F7BF2
secondary
#ECDCB1
accent
#A603E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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