#4F7FDC#4F7FDC

#4F7FDC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.151 H 262.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7FDC
RGBrgb(79, 127, 220)
HSLhsl(220, 67%, 59%)
HSVhsv(220, 64%, 86%)
CMYKcmyk(64.1%, 42.3%, 0%, 13.7%)
CIE-LABlab(54.03, 12.96, -52.43)
CIE-LCHlch(54.03, 54.01, 283.88°)
OKLaboklab(60.79% -0.0203 -0.1495)
OKLCHoklch(60.79% 0.151 262.3)
XYZxyz(23.7275, 22.0061, 70.6934)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FDC #DCAC4F
analogous
#4FC6DC #4F7FDC #654FDC
triadic
#4F7FDC #DC4F7F #7FDC4F
tetradic
#4F7FDC #DC4FC6 #DCAC4F #4FDC65
square
#4F7FDC #DC4FC6 #DCAC4F #4FDC65
split-complementary
#4F7FDC #DC654F #C6DC4F
monochromatic
#1D4593 #275EC6 #4F7FDC #82A4E6 #B5C9F0

Accessibility & contrast

On white

3.89
#4F7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4F7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FDC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FDC#FFFFFF#000000##000000
##4F7FDC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7fdc;
/* rgb */ color: rgb(79, 127, 220);
/* oklch */ color: oklch(60.8% 0.151 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da3e7',
    500: '#4f7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fdc;
$custom-light: #8da3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fdc",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 219.574,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.15092,
    "h": 262.3
  },
  "luminance": 0.22008
}

Semantic roles & 50–950 ramp

primary
#4F7FDC
secondary
#DFCCA8
accent
#AF3EEA
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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