#4F7FCF#4F7FCF

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

Color values

HEX#4F7FCF
RGBrgb(79, 127, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(61.8%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.32, 8.52, -46.23)
CIE-LCHlch(53.32, 47.00, 280.44°)
OKLaboklab(60.01% -0.023 -0.1313)
OKLCHoklch(60.01% 0.133 260.1)
XYZxyz(22.0723, 21.3440, 61.9760)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FCF #CF9F4F
analogous
#4FBFCF #4F7FCF #5F4FCF
triadic
#4F7FCF #CF4F7F #7FCF4F
tetradic
#4F7FCF #CF4FBF #CF9F4F #4FCF5F
square
#4F7FCF #CF4FBF #CF9F4F #4FCF5F
split-complementary
#4F7FCF #CF5F4F #BFCF4F
monochromatic
#234681 #3060B1 #4F7FCF #7FA2DC #AFC5E9

Accessibility & contrast

On white

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

On black

5.27
#4F7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FCF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FCF#FFFFFF#000000##000000
##4F7FCF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7fcf;
/* rgb */ color: rgb(79, 127, 207);
/* oklch */ color: oklch(60.0% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3de',
    500: '#4f7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fcf;
$custom-light: #8ba3de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fcf",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 217.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.13334,
    "h": 260.1
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#4F7FCF
secondary
#D7C4A2
accent
#A747E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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