#4F7FDF#4F7FDF

#4F7FDF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.155 H 262.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F7FDF
RGBrgb(79, 127, 223)
HSLhsl(220, 69%, 59%)
HSVhsv(220, 65%, 87%)
CMYKcmyk(64.6%, 43%, 0%, 12.5%)
CIE-LABlab(54.20, 13.99, -53.85)
CIE-LCHlch(54.20, 55.64, 284.57°)
OKLaboklab(60.98% -0.0197 -0.1537)
OKLCHoklch(60.98% 0.155 262.7)
XYZxyz(24.1284, 22.1664, 72.8047)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FDF #DFAF4F
analogous
#4FC7DF #4F7FDF #674FDF
triadic
#4F7FDF #DF4F7F #7FDF4F
tetradic
#4F7FDF #DF4FC7 #DFAF4F #4FDF67
square
#4F7FDF #DF4FC7 #DFAF4F #4FDF67
split-complementary
#4F7FDF #DF674F #C7DF4F
monochromatic
#1C4598 #255DCC #4F7FDF #83A5E8 #B7CAF2

Accessibility & contrast

On white

3.86
#4F7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4F7FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FDF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FDF#FFFFFF#000000##000000
##4F7FDF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#3B7BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7fdf;
/* rgb */ color: rgb(79, 127, 223);
/* oklch */ color: oklch(61.0% 0.155 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ea3e9',
    500: '#4f7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fdf;
$custom-light: #8ea3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fdf",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 220,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.15496,
    "h": 262.7
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#4F7FDF
secondary
#E1CEA9
accent
#B13CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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