#4F62D8#4F62D8

#4F62D8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.181 H 272.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F62D8
RGBrgb(79, 98, 216)
HSLhsl(232, 64%, 58%)
HSVhsv(232, 63%, 85%)
CMYKcmyk(63.4%, 54.6%, 0%, 15.3%)
CIE-LABlab(46.12, 29.57, -62.90)
CIE-LCHlch(46.12, 69.51, 295.18°)
OKLaboklab(54.69% 0.0067 -0.1807)
OKLCHoklch(54.69% 0.181 272.1)
XYZxyz(19.9827, 15.3538, 66.8630)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62D8 #D8C54F
analogous
#4FA6D8 #4F62D8 #804FD8
triadic
#4F62D8 #D84F62 #62D84F
tetradic
#4F62D8 #D84FA6 #D8C54F #4FD880
square
#4F62D8 #D84FA6 #D8C54F #4FD880
split-complementary
#4F62D8 #D8804F #A6D84F
monochromatic
#1F2F8D #2A3FBF #4F62D8 #818FE3 #B3BBEE

Accessibility & contrast

On white

5.16
#4F62D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4F62D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62D8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62D8#FFFFFF#000000##FFFFFF
##4F62D81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f62d8;
/* rgb */ color: rgb(79, 98, 216);
/* oklch */ color: oklch(54.7% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ee5',
    500: '#4f62d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f62d8;
$custom-light: #8e8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62d8",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 231.679,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.18083,
    "h": 272.1
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#4F62D8
secondary
#DDD5A6
accent
#D041E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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