#4F5BC7#4F5BC7

#4F5BC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.167 H 274.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4F5BC7
RGBrgb(79, 91, 199)
HSLhsl(234, 52%, 55%)
HSVhsv(234, 60%, 78%)
CMYKcmyk(60.3%, 54.3%, 0%, 22%)
CIE-LABlab(43.16, 28.19, -57.92)
CIE-LCHlch(43.16, 64.42, 295.95°)
OKLaboklab(52.1% 0.0125 -0.1661)
OKLCHoklch(52.1% 0.167 274.3)
XYZxyz(17.2710, 13.2666, 55.6723)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BC7 #C7BB4F
analogous
#4F97C7 #4F5BC7 #7F4FC7
triadic
#4F5BC7 #C74F5B #5BC74F
tetradic
#4F5BC7 #C74F97 #C7BB4F #4FC77F
square
#4F5BC7 #C74F97 #C7BB4F #4FC77F
split-complementary
#4F5BC7 #C77F4F #97C74F
monochromatic
#262E76 #3440A4 #4F5BC7 #7D86D6 #ACB2E5

Accessibility & contrast

On white

5.75
#4F5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4F5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BC7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BC7#FFFFFF#000000##FFFFFF
##4F5BC71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5bc7;
/* rgb */ color: rgb(79, 91, 199);
/* oklch */ color: oklch(52.1% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b89d9',
    500: '#4f5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bc7;
$custom-light: #8b89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bc7",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 234,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.521,
    "c": 0.16661,
    "h": 274.3
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#4F5BC7
secondary
#D2CDA0
accent
#CD4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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