#4F7CEC#4F7CEC

#4F7CEC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.2% C 0.176 H 265.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F7CEC
RGBrgb(79, 124, 236)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(66.5%, 47.5%, 0%, 7.5%)
CIE-LABlab(54.17, 20.32, -61.18)
CIE-LCHlch(54.17, 64.47, 288.38°)
OKLaboklab(61.2% -0.0149 -0.1753)
OKLCHoklch(61.2% 0.176 265.1)
XYZxyz(25.5671, 22.1312, 82.2650)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CEC #ECBF4F
analogous
#4FCAEC #4F7CEC #714FEC
triadic
#4F7CEC #EC4F7C #7CEC4F
tetradic
#4F7CEC #EC4FCA #ECBF4F #4FEC71
square
#4F7CEC #EC4FCA #ECBF4F #4FEC71
split-complementary
#4F7CEC #EC714F #CAEC4F
monochromatic
#133FAE #1953E5 #4F7CEC #86A5F2 #BDCEF8

Accessibility & contrast

On white

3.87
#4F7CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4F7CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CEC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CEC#FFFFFF#000000##000000
##4F7CEC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#1B7BEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7cec;
/* rgb */ color: rgb(79, 124, 236);
/* oklch */ color: oklch(61.2% 0.176 265.1);
Tailwind
colors: {
  custom: {
    50: '#90a1f3',
    500: '#4f7cec',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cec;
$custom-light: #90a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cec",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 222.803,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.17593,
    "h": 265.1
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#4F7CEC
secondary
#E8D8AE
accent
#A009DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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