#4F7DE6#4F7DE6

#4F7DE6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.167 H 264.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4F7DE6
RGBrgb(79, 125, 230)
HSLhsl(222, 75%, 61%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(65.7%, 45.7%, 0%, 9.8%)
CIE-LABlab(54.07, 17.63, -57.99)
CIE-LCHlch(54.07, 60.61, 286.91°)
OKLaboklab(61.01% -0.0167 -0.1659)
OKLCHoklch(61.01% 0.167 264.3)
XYZxyz(24.8360, 22.0403, 77.7929)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DE6 #E6B84F
analogous
#4FC8E6 #4F7DE6 #6C4FE6
triadic
#4F7DE6 #E64F7D #7DE64F
tetradic
#4F7DE6 #E64FC8 #E6B84F #4FE66C
square
#4F7DE6 #E64FC8 #E6B84F #4FE66C
split-complementary
#4F7DE6 #E66C4F #C8E64F
monochromatic
#1742A3 #1F58D9 #4F7DE6 #85A5EE #BACCF5

Accessibility & contrast

On white

3.88
#4F7DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4F7DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DE6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DE6#FFFFFF#000000##000000
##4F7DE61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EA
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7de6;
/* rgb */ color: rgb(79, 125, 230);
/* oklch */ color: oklch(61.0% 0.167 264.3);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#4f7de6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7de6;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7de6",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 221.722,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.16673,
    "h": 264.3
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#4F7DE6
secondary
#E5D4AC
accent
#9A0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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