#4F6FE8#4F6FE8

#4F6FE8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.186 H 268.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F6FE8
RGBrgb(79, 111, 232)
HSLhsl(227, 77%, 61%)
HSVhsv(227, 66%, 91%)
CMYKcmyk(65.9%, 52.2%, 0%, 9%)
CIE-LABlab(50.52, 26.97, -64.83)
CIE-LCHlch(50.52, 70.21, 292.59°)
OKLaboklab(58.35% -0.0038 -0.1862)
OKLCHoklch(58.35% 0.186 268.8)
XYZxyz(23.4694, 18.8551, 78.7309)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6FE8 #E8C84F
analogous
#4FBBE8 #4F6FE8 #7B4FE8
triadic
#4F6FE8 #E84F6F #6FE84F
tetradic
#4F6FE8 #E84FBB #E8C84F #4FE87B
square
#4F6FE8 #E84FBB #E8C84F #4FE87B
split-complementary
#4F6FE8 #E87B4F #BBE84F
monochromatic
#1634A7 #1D45DD #4F6FE8 #859BEF #BBC8F6

Accessibility & contrast

On white

4.40
#4F6FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4F6FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6FE8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6FE8#FFFFFF#000000##000000
##4F6FE81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEC
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f6fe8;
/* rgb */ color: rgb(79, 111, 232);
/* oklch */ color: oklch(58.3% 0.186 268.8);
Tailwind
colors: {
  custom: {
    50: '#9097f0',
    500: '#4f6fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4f6fe8;
$custom-light: #9097f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6fe8",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 227.451,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.18625,
    "h": 268.8
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#4F6FE8
secondary
#E6DAAD
accent
#AE0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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