#4F5BB7#4F5BB7

#4F5BB7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.144 H 274.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F5BB7
RGBrgb(79, 91, 183)
HSLhsl(233, 42%, 51%)
HSVhsv(233, 57%, 72%)
CMYKcmyk(56.8%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.10, 22.82, -50.34)
CIE-LCHlch(42.10, 55.27, 294.38°)
OKLaboklab(50.96% 0.0114 -0.1438)
OKLCHoklch(50.96% 0.144 274.5)
XYZxyz(15.5100, 12.5622, 46.3980)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BB7 #B7AB4F
analogous
#4F8FB7 #4F5BB7 #774FB7
triadic
#4F5BB7 #B74F5B #5BB74F
tetradic
#4F5BB7 #B74F8F #B7AB4F #4FB777
square
#4F5BB7 #B74F8F #B7AB4F #4FB777
split-complementary
#4F5BB7 #B7774F #8FB74F
monochromatic
#292F63 #3A448F #4F5BB7 #7A83C9 #A6ACDB

Accessibility & contrast

On white

5.98
#4F5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BB7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BB7#FFFFFF#000000##FFFFFF
##4F5BB71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#1B5FB5
Tritanopia (blue-blind)
#117080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5bb7;
/* rgb */ color: rgb(79, 91, 183);
/* oklch */ color: oklch(51.0% 0.144 274.5);
Tailwind
colors: {
  custom: {
    50: '#8989cd',
    500: '#4f5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bb7;
$custom-light: #8989cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bb7",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 233.077,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.14427,
    "h": 274.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#4F5BB7
secondary
#C8C39A
accent
#C356D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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