#4F5FEB#4F5FEB

#4F5FEB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.209 H 272.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F5FEB
RGBrgb(79, 95, 235)
HSLhsl(234, 80%, 62%)
HSVhsv(234, 66%, 92%)
CMYKcmyk(66.4%, 59.6%, 0%, 7.8%)
CIE-LABlab(46.77, 37.87, -72.60)
CIE-LCHlch(46.77, 81.88, 297.55°)
OKLaboklab(55.61% 0.0095 -0.2092)
OKLCHoklch(55.61% 0.209 272.6)
XYZxyz(22.3070, 15.8428, 80.4635)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FEB #EBDB4F
analogous
#4FADEB #4F5FEB #8D4FEB
triadic
#4F5FEB #EB4F5F #5FEB4F
tetradic
#4F5FEB #EB4FAD #EBDB4F #4FEB8D
square
#4F5FEB #EB4FAD #EBDB4F #4FEB8D
split-complementary
#4F5FEB #EB8D4F #ADEB4F
monochromatic
#1423AC #1A2EE3 #4F5FEB #8691F1 #BDC3F7

Accessibility & contrast

On white

5.04
#4F5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4F5FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FEB#FFFFFF#000000##FFFFFF
##4F5FEB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f5feb;
/* rgb */ color: rgb(79, 95, 235);
/* oklch */ color: oklch(55.6% 0.209 272.6);
Tailwind
colors: {
  custom: {
    50: '#928cf2',
    500: '#4f5feb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5feb;
$custom-light: #928cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5feb",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 233.846,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.20947,
    "h": 272.6
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#4F5FEB
secondary
#E8E2AE
accent
#C60ADC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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