#4F7FD2#4F7FD2

#4F7FD2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.137 H 260.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F7FD2
RGBrgb(79, 127, 210)
HSLhsl(218, 59%, 57%)
HSVhsv(218, 62%, 82%)
CMYKcmyk(62.4%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.48, 9.54, -47.67)
CIE-LCHlch(53.48, 48.62, 281.32°)
OKLaboklab(60.19% -0.0223 -0.1356)
OKLCHoklch(60.19% 0.137 260.7)
XYZxyz(22.4426, 21.4921, 63.9260)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FD2 #D2A24F
analogous
#4FC1D2 #4F7FD2 #614FD2
triadic
#4F7FD2 #D24F7F #7FD24F
tetradic
#4F7FD2 #D24FC1 #D2A24F #4FD261
square
#4F7FD2 #D24FC1 #D2A24F #4FD261
split-complementary
#4F7FD2 #D2614F #C1D24F
monochromatic
#224685 #2E60B5 #4F7FD2 #80A2DE #B0C6EB

Accessibility & contrast

On white

3.96
#4F7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4F7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FD2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FD2#FFFFFF#000000##000000
##4F7FD21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7fd2;
/* rgb */ color: rgb(79, 127, 210);
/* oklch */ color: oklch(60.2% 0.137 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ca3e0',
    500: '#4f7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fd2;
$custom-light: #8ca3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fd2",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 218.015,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.1374,
    "h": 260.7
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#4F7FD2
secondary
#D9C6A4
accent
#A945E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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