#4F6ED8#4F6ED8

#4F6ED8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.166 H 268.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4F6ED8
RGBrgb(79, 110, 216)
HSLhsl(226, 64%, 58%)
HSVhsv(226, 63%, 85%)
CMYKcmyk(63.4%, 49.1%, 0%, 15.3%)
CIE-LABlab(49.22, 22.08, -57.90)
CIE-LCHlch(49.22, 61.96, 290.88°)
OKLaboklab(57.03% -0.0044 -0.1658)
OKLCHoklch(57.03% 0.166 268.5)
XYZxyz(21.1908, 17.7701, 67.2657)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6ED8 #D8B94F
analogous
#4FB3D8 #4F6ED8 #744FD8
triadic
#4F6ED8 #D84F6E #6ED84F
tetradic
#4F6ED8 #D84FB3 #D8B94F #4FD874
square
#4F6ED8 #D84FB3 #D8B94F #4FD874
split-complementary
#4F6ED8 #D8744F #B3D84F
monochromatic
#1F388D #2A4CBF #4F6ED8 #8197E3 #B3C1EE

Accessibility & contrast

On white

4.61
#4F6ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4F6ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6ED8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6ED8#FFFFFF#000000##FFFFFF
##4F6ED81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357BDC
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f6ed8;
/* rgb */ color: rgb(79, 110, 216);
/* oklch */ color: oklch(57.0% 0.166 268.5);
Tailwind
colors: {
  custom: {
    50: '#8d97e5',
    500: '#4f6ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4f6ed8;
$custom-light: #8d97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6ed8",
  "rgb": {
    "r": 79,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 226.423,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.16589,
    "h": 268.5
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#4F6ED8
secondary
#DDD0A6
accent
#C141E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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