#4F7EEE#4F7EEE

#4F7EEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.7% C 0.176 H 264.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4F7EEE
RGBrgb(79, 126, 238)
HSLhsl(222, 82%, 62%)
HSVhsv(222, 67%, 93%)
CMYKcmyk(66.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(54.82, 19.79, -61.25)
CIE-LCHlch(54.82, 64.37, 287.91°)
OKLaboklab(61.74% -0.0164 -0.1755)
OKLCHoklch(61.74% 0.176 264.6)
XYZxyz(26.1125, 22.7545, 83.8882)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EEE #EEBF4F
analogous
#4FCEEE #4F7EEE #704FEE
triadic
#4F7EEE #EE4F7E #7EEE4F
tetradic
#4F7EEE #EE4FCE #EEBF4F #4FEE70
square
#4F7EEE #EE4FCE #EEBF4F #4FEE70
split-complementary
#4F7EEE #EE704F #CEEE4F
monochromatic
#1141B1 #1755E9 #4F7EEE #87A7F3 #BFD0F9

Accessibility & contrast

On white

3.78
#4F7EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4F7EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EEE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EEE#FFFFFF#000000##000000
##4F7EEE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF2
Deuteranopia (green-blind)
#1F7CEC
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7eee;
/* rgb */ color: rgb(79, 126, 238);
/* oklch */ color: oklch(61.7% 0.176 264.6);
Tailwind
colors: {
  custom: {
    50: '#90a2f4',
    500: '#4f7eee',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eee;
$custom-light: #90a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eee",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 222.264,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.17623,
    "h": 264.6
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#4F7EEE
secondary
#EAD8AF
accent
#9F07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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