#4F62BF#4F62BF

#4F62BF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.146 H 271.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F62BF
RGBrgb(79, 98, 191)
HSLhsl(230, 47%, 53%)
HSVhsv(230, 59%, 75%)
CMYKcmyk(58.6%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.46, 21.08, -51.20)
CIE-LCHlch(44.46, 55.37, 292.37°)
OKLaboklab(52.91% 0.0047 -0.1463)
OKLCHoklch(52.91% 0.146 271.8)
XYZxyz(16.9930, 14.1579, 51.1174)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62BF #BFAC4F
analogous
#4F9ABF #4F62BF #744FBF
triadic
#4F62BF #BF4F62 #62BF4F
tetradic
#4F62BF #BF4F9A #BFAC4F #4FBF74
square
#4F62BF #BF4F9A #BFAC4F #4FBF74
split-complementary
#4F62BF #BF744F #9ABF4F
monochromatic
#27336C #384899 #4F62BF #7C8ACF #A9B2E0

Accessibility & contrast

On white

5.48
#4F62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62BF#FFFFFF#000000##FFFFFF
##4F62BF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f62bf;
/* rgb */ color: rgb(79, 98, 191);
/* oklch */ color: oklch(52.9% 0.146 271.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ed3',
    500: '#4f62bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f62bf;
$custom-light: #8a8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62bf",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 229.821,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.14637,
    "h": 271.8
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#4F62BF
secondary
#CDC59D
accent
#C051D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4F62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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