#4F7BEB#4F7BEB

#4F7BEB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.176 H 265.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4F7BEB
RGBrgb(79, 123, 235)
HSLhsl(223, 80%, 62%)
HSVhsv(223, 66%, 92%)
CMYKcmyk(66.4%, 47.7%, 0%, 7.8%)
CIE-LABlab(53.84, 20.59, -61.15)
CIE-LCHlch(53.84, 64.52, 288.61°)
OKLaboklab(60.93% -0.0141 -0.1752)
OKLCHoklch(60.93% 0.176 265.4)
XYZxyz(25.2976, 21.8239, 81.4604)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BEB #EBBF4F
analogous
#4FC9EB #4F7BEB #714FEB
triadic
#4F7BEB #EB4F7B #7BEB4F
tetradic
#4F7BEB #EB4FC9 #EBBF4F #4FEB71
square
#4F7BEB #EB4FC9 #EBBF4F #4FEB71
split-complementary
#4F7BEB #EB714F #C9EB4F
monochromatic
#143FAC #1A53E3 #4F7BEB #86A4F1 #BDCDF7

Accessibility & contrast

On white

3.91
#4F7BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4F7BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BEB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BEB#FFFFFF#000000##000000
##4F7BEB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#197AE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7beb;
/* rgb */ color: rgb(79, 123, 235);
/* oklch */ color: oklch(60.9% 0.176 265.4);
Tailwind
colors: {
  custom: {
    50: '#90a0f2',
    500: '#4f7beb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7beb;
$custom-light: #90a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7beb",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 223.077,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.17579,
    "h": 265.4
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#4F7BEB
secondary
#E8D8AE
accent
#A10ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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