#4F7ECE#4F7ECE

#4F7ECE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.133 H 260.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F7ECE
RGBrgb(79, 126, 206)
HSLhsl(218, 56%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(61.7%, 38.8%, 0%, 19.2%)
CIE-LABlab(52.99, 8.79, -46.19)
CIE-LCHlch(52.99, 47.01, 280.77°)
OKLaboklab(59.74% -0.0222 -0.1312)
OKLCHoklch(59.74% 0.133 260.4)
XYZxyz(21.8220, 21.0382, 61.2913)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ECE #CE9F4F
analogous
#4FBDCE #4F7ECE #5F4FCE
triadic
#4F7ECE #CE4F7E #7ECE4F
tetradic
#4F7ECE #CE4FBD #CE9F4F #4FCE5F
square
#4F7ECE #CE4FBD #CE9F4F #4FCE5F
split-complementary
#4F7ECE #CE5F4F #BDCE4F
monochromatic
#23457F #315FAF #4F7ECE #7FA1DB #AFC4E9

Accessibility & contrast

On white

4.03
#4F7ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F7ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ECE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ECE#FFFFFF#000000##000000
##4F7ECE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7ece;
/* rgb */ color: rgb(79, 126, 206);
/* oklch */ color: oklch(59.7% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ba3dd',
    500: '#4f7ece',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ece;
$custom-light: #8ba3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ece",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 217.795,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.1331,
    "h": 260.4
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#4F7ECE
secondary
#D7C3A2
accent
#A848E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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