#4F7EDF#4F7EDF

#4F7EDF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.156 H 263.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F7EDF
RGBrgb(79, 126, 223)
HSLhsl(220, 69%, 59%)
HSVhsv(220, 65%, 87%)
CMYKcmyk(64.6%, 43.5%, 0%, 12.5%)
CIE-LABlab(53.93, 14.60, -54.28)
CIE-LCHlch(53.93, 56.21, 285.06°)
OKLaboklab(60.77% -0.0188 -0.155)
OKLCHoklch(60.77% 0.156 263.1)
XYZxyz(23.9999, 21.9094, 72.7619)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EDF #DFB04F
analogous
#4FC6DF #4F7EDF #684FDF
triadic
#4F7EDF #DF4F7E #7EDF4F
tetradic
#4F7EDF #DF4FC6 #DFB04F #4FDF68
square
#4F7EDF #DF4FC6 #DFB04F #4FDF68
split-complementary
#4F7EDF #DF684F #C6DF4F
monochromatic
#1C4498 #255BCC #4F7EDF #83A4E8 #B7CAF2

Accessibility & contrast

On white

3.90
#4F7EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4F7EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EDF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EDF#FFFFFF#000000##000000
##4F7EDF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#387BDD
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7edf;
/* rgb */ color: rgb(79, 126, 223);
/* oklch */ color: oklch(60.8% 0.156 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea2e9',
    500: '#4f7edf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7edf;
$custom-light: #8ea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7edf",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 220.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.15612,
    "h": 263.1
  },
  "luminance": 0.21912
}

Semantic roles & 50–950 ramp

primary
#4F7EDF
secondary
#E1CFA9
accent
#B33CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4F7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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