#4F7FCE#4F7FCE

#4F7FCE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.132 H 259.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F7FCE
RGBrgb(79, 127, 206)
HSLhsl(217, 56%, 56%)
HSVhsv(217, 62%, 81%)
CMYKcmyk(61.7%, 38.3%, 0%, 19.2%)
CIE-LABlab(53.27, 8.18, -45.74)
CIE-LCHlch(53.27, 46.47, 280.14°)
OKLaboklab(59.96% -0.0232 -0.1299)
OKLCHoklch(59.96% 0.132 259.9)
XYZxyz(21.9505, 21.2953, 61.3342)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FCE #CE9E4F
analogous
#4FBECE #4F7FCE #5E4FCE
triadic
#4F7FCE #CE4F7F #7FCE4F
tetradic
#4F7FCE #CE4FBE #CE9E4F #4FCE5E
square
#4F7FCE #CE4FBE #CE9E4F #4FCE5E
split-complementary
#4F7FCE #CE5E4F #BECE4F
monochromatic
#23467F #3160AF #4F7FCE #7FA2DB #AFC5E9

Accessibility & contrast

On white

3.99
#4F7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4F7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FCE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FCE#FFFFFF#000000##000000
##4F7FCE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7fce;
/* rgb */ color: rgb(79, 127, 206);
/* oklch */ color: oklch(60.0% 0.132 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3dd',
    500: '#4f7fce',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fce;
$custom-light: #8ba3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fce",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 217.323,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.13199,
    "h": 259.9
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#4F7FCE
secondary
#D7C3A2
accent
#A648E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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