#4F7FEE#4F7FEE

#4F7FEE is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.175 H 264.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F7FEE
RGBrgb(79, 127, 238)
HSLhsl(222, 82%, 62%)
HSVhsv(222, 67%, 93%)
CMYKcmyk(66.8%, 46.6%, 0%, 6.7%)
CIE-LABlab(55.08, 19.18, -60.82)
CIE-LCHlch(55.08, 63.77, 287.50°)
OKLaboklab(61.94% -0.0173 -0.1742)
OKLCHoklch(61.94% 0.175 264.3)
XYZxyz(26.2410, 23.0115, 83.9311)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FEE #EEBE4F
analogous
#4FCEEE #4F7FEE #6F4FEE
triadic
#4F7FEE #EE4F7F #7FEE4F
tetradic
#4F7FEE #EE4FCE #EEBE4F #4FEE6F
square
#4F7FEE #EE4FCE #EEBE4F #4FEE6F
split-complementary
#4F7FEE #EE6F4F #CEEE4F
monochromatic
#1142B1 #1756E9 #4F7FEE #87A8F3 #BFD0F9

Accessibility & contrast

On white

3.75
#4F7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#4F7FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FEE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FEE#FFFFFF#000000##000000
##4F7FEE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f7fee;
/* rgb */ color: rgb(79, 127, 238);
/* oklch */ color: oklch(61.9% 0.175 264.3);
Tailwind
colors: {
  custom: {
    50: '#90a3f4',
    500: '#4f7fee',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fee;
$custom-light: #90a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fee",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 221.887,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6194,
    "c": 0.17505,
    "h": 264.3
  },
  "luminance": 0.23014
}

Semantic roles & 50–950 ramp

primary
#4F7FEE
secondary
#EAD8AF
accent
#9E07DF
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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