#4F62CF#4F62CF

#4F62CF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.169 H 272.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F62CF
RGBrgb(79, 98, 207)
HSLhsl(231, 57%, 56%)
HSVhsv(231, 62%, 81%)
CMYKcmyk(61.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.50, 26.51, -58.75)
CIE-LCHlch(45.50, 64.46, 294.28°)
OKLaboklab(54.03% 0.0062 -0.1685)
OKLCHoklch(54.03% 0.169 272.1)
XYZxyz(18.8509, 14.9010, 60.9022)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62CF #CFBC4F
analogous
#4FA2CF #4F62CF #7C4FCF
triadic
#4F62CF #CF4F62 #62CF4F
tetradic
#4F62CF #CF4FA2 #CFBC4F #4FCF7C
square
#4F62CF #CF4FA2 #CFBC4F #4FCF7C
split-complementary
#4F62CF #CF7C4F #A2CF4F
monochromatic
#233181 #3043B1 #4F62CF #7F8DDC #AFB8E9

Accessibility & contrast

On white

5.28
#4F62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4F62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62CF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62CF#FFFFFF#000000##FFFFFF
##4F62CF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f62cf;
/* rgb */ color: rgb(79, 98, 207);
/* oklch */ color: oklch(54.0% 0.169 272.1);
Tailwind
colors: {
  custom: {
    50: '#8c8ede',
    500: '#4f62cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f62cf;
$custom-light: #8c8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62cf",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 231.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.16862,
    "h": 272.1
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#4F62CF
secondary
#D7CFA2
accent
#CA47E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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