#4F62CB#4F62CB

#4F62CB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.163 H 272.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F62CB
RGBrgb(79, 98, 203)
HSLhsl(231, 54%, 55%)
HSVhsv(231, 61%, 80%)
CMYKcmyk(61.1%, 51.7%, 0%, 20.4%)
CIE-LABlab(45.23, 25.15, -56.89)
CIE-LCHlch(45.23, 62.20, 293.85°)
OKLaboklab(53.74% 0.0059 -0.163)
OKLCHoklch(53.74% 0.163 272.1)
XYZxyz(18.3680, 14.7079, 58.3593)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62CB #CBB84F
analogous
#4FA0CB #4F62CB #7A4FCB
triadic
#4F62CB #CB4F62 #62CB4F
tetradic
#4F62CB #CB4FA0 #CBB84F #4FCB7A
square
#4F62CB #CB4FA0 #CBB84F #4FCB7A
split-complementary
#4F62CB #CB7A4F #A0CB4F
monochromatic
#24327B #3245AA #4F62CB #7E8CD9 #ADB6E7

Accessibility & contrast

On white

5.33
#4F62CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F62CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62CB#FFFFFF#000000##FFFFFF
##4F62CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f62cb;
/* rgb */ color: rgb(79, 98, 203);
/* oklch */ color: oklch(53.7% 0.163 272.1);
Tailwind
colors: {
  custom: {
    50: '#8c8edb',
    500: '#4f62cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f62cb;
$custom-light: #8c8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62cb",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 230.806,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.16313,
    "h": 272.1
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#4F62CB
secondary
#D5CDA1
accent
#C74ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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