#4F5FBE#4F5FBE

#4F5FBE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.149 H 273.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F5FBE
RGBrgb(79, 95, 190)
HSLhsl(231, 46%, 53%)
HSVhsv(231, 58%, 75%)
CMYKcmyk(58.4%, 50%, 0%, 25.5%)
CIE-LABlab(43.60, 22.63, -52.00)
CIE-LCHlch(43.60, 56.71, 293.52°)
OKLaboklab(52.24% 0.0078 -0.1487)
OKLCHoklch(52.24% 0.149 273)
XYZxyz(16.6079, 13.5631, 50.4480)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FBE #BEAE4F
analogous
#4F97BE #4F5FBE #764FBE
triadic
#4F5FBE #BE4F5F #5FBE4F
tetradic
#4F5FBE #BE4F97 #BEAE4F #4FBE76
square
#4F5FBE #BE4F97 #BEAE4F #4FBE76
split-complementary
#4F5FBE #BE764F #97BE4F
monochromatic
#28316B #384698 #4F5FBE #7C88CF #A8B0DF

Accessibility & contrast

On white

5.66
#4F5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FBE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FBE#FFFFFF#000000##FFFFFF
##4F5FBE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#1962BC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5fbe;
/* rgb */ color: rgb(79, 95, 190);
/* oklch */ color: oklch(52.2% 0.149 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8cd2',
    500: '#4f5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fbe;
$custom-light: #8a8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fbe",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 231.351,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.14888,
    "h": 273
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#4F5FBE
secondary
#CCC69C
accent
#C352D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4F5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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