#4F7CEE#4F7CEE

#4F7CEE is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.179 H 265.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F7CEE
RGBrgb(79, 124, 238)
HSLhsl(223, 82%, 62%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(66.8%, 47.9%, 0%, 6.7%)
CIE-LABlab(54.29, 21.02, -62.10)
CIE-LCHlch(54.29, 65.56, 288.70°)
OKLaboklab(61.33% -0.0147 -0.178)
OKLCHoklch(61.33% 0.179 265.3)
XYZxyz(25.8593, 22.2481, 83.8039)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CEE #EEC14F
analogous
#4FCBEE #4F7CEE #724FEE
triadic
#4F7CEE #EE4F7C #7CEE4F
tetradic
#4F7CEE #EE4FCB #EEC14F #4FEE72
square
#4F7CEE #EE4FCB #EEC14F #4FEE72
split-complementary
#4F7CEE #EE724F #CBEE4F
monochromatic
#113FB1 #1752E9 #4F7CEE #87A6F3 #BFCFF9

Accessibility & contrast

On white

3.85
#4F7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F7CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CEE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CEE#FFFFFF#000000##000000
##4F7CEE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF2
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7cee;
/* rgb */ color: rgb(79, 124, 238);
/* oklch */ color: oklch(61.3% 0.179 265.3);
Tailwind
colors: {
  custom: {
    50: '#91a1f4',
    500: '#4f7cee',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cee;
$custom-light: #91a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cee",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 223.019,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.1786,
    "h": 265.3
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#4F7CEE
secondary
#EAD9AF
accent
#A207DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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