#4F6FEC#4F6FEC

#4F6FEC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.192 H 268.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F6FEC
RGBrgb(79, 111, 236)
HSLhsl(228, 81%, 62%)
HSVhsv(228, 67%, 93%)
CMYKcmyk(66.5%, 53%, 0%, 7.5%)
CIE-LABlab(50.79, 28.35, -66.63)
CIE-LCHlch(50.79, 72.41, 293.05°)
OKLaboklab(58.63% -0.0035 -0.1915)
OKLCHoklch(58.63% 0.192 268.9)
XYZxyz(24.0440, 19.0850, 81.7573)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6FEC #ECCC4F
analogous
#4FBDEC #4F6FEC #7E4FEC
triadic
#4F6FEC #EC4F6F #6FEC4F
tetradic
#4F6FEC #EC4FBD #ECCC4F #4FEC7E
square
#4F6FEC #EC4FBD #ECCC4F #4FEC7E
split-complementary
#4F6FEC #EC7E4F #BDEC4F
monochromatic
#1332AE #1942E5 #4F6FEC #869CF2 #BDC9F8

Accessibility & contrast

On white

4.36
#4F6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4F6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6FEC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6FEC#FFFFFF#000000##000000
##4F6FEC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f6fec;
/* rgb */ color: rgb(79, 111, 236);
/* oklch */ color: oklch(58.6% 0.192 268.9);
Tailwind
colors: {
  custom: {
    50: '#9197f3',
    500: '#4f6fec',
    950: '#000000',
  },
}
SCSS
$custom: #4f6fec;
$custom-light: #9197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6fec",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 227.771,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.19156,
    "h": 268.9
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#4F6FEC
secondary
#E8DDAE
accent
#B209DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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