#4F7BE6#4F7BE6

#4F7BE6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.169 H 265.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4F7BE6
RGBrgb(79, 123, 230)
HSLhsl(223, 75%, 61%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(65.7%, 46.5%, 0%, 9.8%)
CIE-LABlab(53.53, 18.86, -58.84)
CIE-LCHlch(53.53, 61.79, 287.77°)
OKLaboklab(60.6% -0.0148 -0.1684)
OKLCHoklch(60.6% 0.169 265)
XYZxyz(24.5854, 21.5390, 77.7094)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BE6 #E6BA4F
analogous
#4FC6E6 #4F7BE6 #6F4FE6
triadic
#4F7BE6 #E64F7B #7BE64F
tetradic
#4F7BE6 #E64FC6 #E6BA4F #4FE66F
square
#4F7BE6 #E64FC6 #E6BA4F #4FE66F
split-complementary
#4F7BE6 #E66F4F #C6E64F
monochromatic
#1740A3 #1F55D9 #4F7BE6 #85A3EE #BACBF5

Accessibility & contrast

On white

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

On black

5.31
#4F7BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BE6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BE6#FFFFFF#000000##000000
##4F7BE61.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4487EA
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7be6;
/* rgb */ color: rgb(79, 123, 230);
/* oklch */ color: oklch(60.6% 0.169 265.0);
Tailwind
colors: {
  custom: {
    50: '#8fa0ee',
    500: '#4f7be6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7be6;
$custom-light: #8fa0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7be6",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 222.517,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.16909,
    "h": 265
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#4F7BE6
secondary
#E5D4AC
accent
#9D0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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