#4F5BB5#4F5BB5

#4F5BB5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.141 H 274.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4F5BB5
RGBrgb(79, 91, 181)
HSLhsl(233, 41%, 51%)
HSVhsv(233, 56%, 71%)
CMYKcmyk(56.4%, 49.7%, 0%, 29%)
CIE-LABlab(41.97, 22.15, -49.37)
CIE-LCHlch(41.97, 54.11, 294.16°)
OKLaboklab(50.82% 0.0111 -0.141)
OKLCHoklch(50.82% 0.141 274.5)
XYZxyz(15.3033, 12.4795, 45.3095)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BB5 #B5A94F
analogous
#4F8EB5 #4F5BB5 #764FB5
triadic
#4F5BB5 #B54F5B #5BB54F
tetradic
#4F5BB5 #B54F8E #B5A94F #4FB576
square
#4F5BB5 #B54F8E #B5A94F #4FB576
split-complementary
#4F5BB5 #B5764F #8EB54F
monochromatic
#292F61 #3B448C #4F5BB5 #7A83C7 #A5ABD9

Accessibility & contrast

On white

6.01
#4F5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4F5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BB5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BB5#FFFFFF#000000##FFFFFF
##4F5BB51.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#156F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5bb5;
/* rgb */ color: rgb(79, 91, 181);
/* oklch */ color: oklch(50.8% 0.141 274.5);
Tailwind
colors: {
  custom: {
    50: '#8889cc',
    500: '#4f5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bb5;
$custom-light: #8889cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bb5",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 232.941,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.14142,
    "h": 274.5
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#4F5BB5
secondary
#C6C199
accent
#C257D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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