#4F5BB2#4F5BB2

#4F5BB2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.137 H 274.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4F5BB2
RGBrgb(79, 91, 178)
HSLhsl(233, 39%, 50%)
HSVhsv(233, 56%, 70%)
CMYKcmyk(55.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(41.78, 21.15, -47.91)
CIE-LCHlch(41.78, 52.37, 293.81°)
OKLaboklab(50.62% 0.0108 -0.1367)
OKLCHoklch(50.62% 0.137 274.5)
XYZxyz(14.9988, 12.3577, 43.7058)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BB2 #B2A64F
analogous
#4F8CB2 #4F5BB2 #744FB2
triadic
#4F5BB2 #B24F5B #5BB24F
tetradic
#4F5BB2 #B24F8C #B2A64F #4FB274
square
#4F5BB2 #B24F8C #B2A64F #4FB274
split-complementary
#4F5BB2 #B2744F #8CB24F
monochromatic
#292F5E #3C4588 #4F5BB2 #7A83C5 #A4AAD7

Accessibility & contrast

On white

6.05
#4F5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BB2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BB2#FFFFFF#000000##FFFFFF
##4F5BB21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#1A6E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5bb2;
/* rgb */ color: rgb(79, 91, 178);
/* oklch */ color: oklch(50.6% 0.137 274.5);
Tailwind
colors: {
  custom: {
    50: '#8889c9',
    500: '#4f5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bb2;
$custom-light: #8889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bb2",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 232.727,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.13713,
    "h": 274.5
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#4F5BB2
secondary
#C4BF98
accent
#C159CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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