#4F5ED8#4F5ED8

#4F5ED8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.186 H 273.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED8
RGBrgb(79, 94, 216)
HSLhsl(233, 64%, 58%)
HSVhsv(233, 63%, 85%)
CMYKcmyk(63.4%, 56.5%, 0%, 15.3%)
CIE-LABlab(45.11, 32.06, -64.52)
CIE-LCHlch(45.11, 72.05, 296.42°)
OKLaboklab(53.94% 0.0103 -0.1855)
OKLCHoklch(53.94% 0.186 273.2)
XYZxyz(19.6177, 14.6239, 66.7413)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED8 #D8C94F
analogous
#4FA2D8 #4F5ED8 #854FD8
triadic
#4F5ED8 #D84F5E #5ED84F
tetradic
#4F5ED8 #D84FA2 #D8C94F #4FD885
square
#4F5ED8 #D84FA2 #D8C94F #4FD885
split-complementary
#4F5ED8 #D8854F #A2D84F
monochromatic
#1F2B8D #2A3BBF #4F5ED8 #818CE3 #B3BAEE

Accessibility & contrast

On white

5.35
#4F5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4F5ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED8#FFFFFF#000000##FFFFFF
##4F5ED81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ed8;
/* rgb */ color: rgb(79, 94, 216);
/* oklch */ color: oklch(53.9% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8be5',
    500: '#4f5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed8;
$custom-light: #8e8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed8",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 233.431,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.18581,
    "h": 273.2
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#4F5ED8
secondary
#DDD7A6
accent
#D541E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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