#4F5EDA#4F5EDA

#4F5EDA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.188 H 273.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F5EDA
RGBrgb(79, 94, 218)
HSLhsl(234, 65%, 58%)
HSVhsv(234, 64%, 85%)
CMYKcmyk(63.8%, 56.9%, 0%, 14.5%)
CIE-LABlab(45.26, 32.74, -65.43)
CIE-LCHlch(45.26, 73.16, 296.58°)
OKLaboklab(54.09% 0.0103 -0.1882)
OKLCHoklch(54.09% 0.188 273.1)
XYZxyz(19.8778, 14.7279, 68.1113)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EDA #DACB4F
analogous
#4FA3DA #4F5EDA #854FDA
triadic
#4F5EDA #DA4F5E #5EDA4F
tetradic
#4F5EDA #DA4FA3 #DACB4F #4FDA85
square
#4F5EDA #DA4FA3 #DACB4F #4FDA85
split-complementary
#4F5EDA #DA854F #A3DA4F
monochromatic
#1E2B90 #293AC3 #4F5EDA #828CE5 #B4BBEF

Accessibility & contrast

On white

5.32
#4F5EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4F5EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EDA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EDA#FFFFFF#000000##FFFFFF
##4F5EDA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5eda;
/* rgb */ color: rgb(79, 94, 218);
/* oklch */ color: oklch(54.1% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#8f8be6',
    500: '#4f5eda',
    950: '#000000',
  },
}
SCSS
$custom: #4f5eda;
$custom-light: #8f8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5eda",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 233.525,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.18847,
    "h": 273.1
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#4F5EDA
secondary
#DED8A7
accent
#D640E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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