#4F7FD0#4F7FD0

#4F7FD0 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.135 H 260.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F7FD0
RGBrgb(79, 127, 208)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 62%, 82%)
CMYKcmyk(62%, 38.9%, 0%, 18.4%)
CIE-LABlab(53.38, 8.86, -46.71)
CIE-LCHlch(53.38, 47.54, 280.74°)
OKLaboklab(60.07% -0.0228 -0.1327)
OKLCHoklch(60.07% 0.135 260.3)
XYZxyz(22.1950, 21.3931, 62.6219)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FD0 #D0A04F
analogous
#4FC0D0 #4F7FD0 #604FD0
triadic
#4F7FD0 #D04F7F #7FD04F
tetradic
#4F7FD0 #D04FC0 #D0A04F #4FD060
square
#4F7FD0 #D04FC0 #D0A04F #4FD060
split-complementary
#4F7FD0 #D0604F #C0D04F
monochromatic
#234682 #3060B2 #4F7FD0 #7FA2DD #B0C5EA

Accessibility & contrast

On white

3.98
#4F7FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4F7FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FD0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FD0#FFFFFF#000000##000000
##4F7FD01.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7fd0;
/* rgb */ color: rgb(79, 127, 208);
/* oklch */ color: oklch(60.1% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ca3df',
    500: '#4f7fd0',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fd0;
$custom-light: #8ca3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fd0",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 217.674,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.13469,
    "h": 260.3
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#4F7FD0
secondary
#D8C4A3
accent
#A847E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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