#4F62D5#4F62D5

#4F62D5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.177 H 272.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F62D5
RGBrgb(79, 98, 213)
HSLhsl(231, 61%, 57%)
HSVhsv(231, 63%, 84%)
CMYKcmyk(62.9%, 54%, 0%, 16.5%)
CIE-LABlab(45.91, 28.55, -61.53)
CIE-LCHlch(45.91, 67.83, 294.89°)
OKLaboklab(54.47% 0.0066 -0.1767)
OKLCHoklch(54.47% 0.177 272.1)
XYZxyz(19.5984, 15.2000, 64.8390)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62D5 #D5C24F
analogous
#4FA5D5 #4F62D5 #7F4FD5
triadic
#4F62D5 #D54F62 #62D54F
tetradic
#4F62D5 #D54FA5 #D5C24F #4FD57F
square
#4F62D5 #D54FA5 #D5C24F #4FD57F
split-complementary
#4F62D5 #D57F4F #A5D54F
monochromatic
#212F89 #2C41BA #4F62D5 #808EE1 #B2BAED

Accessibility & contrast

On white

5.20
#4F62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F62D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62D5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62D5#FFFFFF#000000##FFFFFF
##4F62D51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f62d5;
/* rgb */ color: rgb(79, 98, 213);
/* oklch */ color: oklch(54.5% 0.177 272.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ee3',
    500: '#4f62d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f62d5;
$custom-light: #8d8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62d5",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 231.493,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.17679,
    "h": 272.1
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#4F62D5
secondary
#DBD3A5
accent
#CE43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4F62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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