#4F5EC8#4F5EC8

#4F5EC8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.164 H 273.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4F5EC8
RGBrgb(79, 94, 200)
HSLhsl(233, 52%, 55%)
HSVhsv(233, 61%, 78%)
CMYKcmyk(60.5%, 53%, 0%, 21.6%)
CIE-LABlab(44.00, 26.64, -57.15)
CIE-LCHlch(44.00, 63.06, 294.99°)
OKLaboklab(52.75% 0.0096 -0.1638)
OKLCHoklch(52.75% 0.164 273.4)
XYZxyz(17.6490, 13.8364, 56.3730)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EC8 #C8B94F
analogous
#4F9BC8 #4F5EC8 #7D4FC8
triadic
#4F5EC8 #C84F5E #5EC84F
tetradic
#4F5EC8 #C84F9B #C8B94F #4FC87D
square
#4F5EC8 #C84F9B #C8B94F #4FC87D
split-complementary
#4F5EC8 #C87D4F #9BC84F
monochromatic
#252F77 #3442A6 #4F5EC8 #7E89D7 #ACB3E5

Accessibility & contrast

On white

5.57
#4F5EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4F5EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EC8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EC8#FFFFFF#000000##FFFFFF
##4F5EC81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5ec8;
/* rgb */ color: rgb(79, 94, 200);
/* oklch */ color: oklch(52.7% 0.164 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b8bd9',
    500: '#4f5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ec8;
$custom-light: #8b8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ec8",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 232.562,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.16412,
    "h": 273.4
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#4F5EC8
secondary
#D3CDA0
accent
#CA4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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