#4F62E1#4F62E1

#4F62E1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.193 H 272.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F62E1
RGBrgb(79, 98, 225)
HSLhsl(232, 71%, 60%)
HSVhsv(232, 65%, 88%)
CMYKcmyk(64.9%, 56.4%, 0%, 11.8%)
CIE-LABlab(46.75, 32.64, -66.98)
CIE-LCHlch(46.75, 74.51, 295.98°)
OKLaboklab(55.37% 0.007 -0.1927)
OKLCHoklch(55.37% 0.193 272.1)
XYZxyz(21.1782, 15.8320, 73.1594)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62E1 #E1CE4F
analogous
#4FABE1 #4F62E1 #854FE1
triadic
#4F62E1 #E14F62 #62E14F
tetradic
#4F62E1 #E14FAB #E1CE4F #4FE185
square
#4F62E1 #E14FAB #E1CE4F #4FE185
split-complementary
#4F62E1 #E1854F #ABE14F
monochromatic
#1A2B9B #233ACF #4F62E1 #8391EA #B8BFF3

Accessibility & contrast

On white

5.04
#4F62E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4F62E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62E1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62E1#FFFFFF#000000##FFFFFF
##4F62E11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f62e1;
/* rgb */ color: rgb(79, 98, 225);
/* oklch */ color: oklch(55.4% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#908eeb',
    500: '#4f62e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f62e1;
$custom-light: #908eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62e1",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 232.192,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.19283,
    "h": 272.1
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#4F62E1
secondary
#E2DBAA
accent
#D63AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F62E1

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

Preview Lab → · Contrast checker → · Palette generator →

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