#4F5FB0#4F5FB0

#4F5FB0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.129 H 272.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F5FB0
RGBrgb(79, 95, 176)
HSLhsl(230, 38%, 50%)
HSVhsv(230, 55%, 69%)
CMYKcmyk(55.1%, 46%, 0%, 31%)
CIE-LABlab(42.73, 17.94, -45.21)
CIE-LCHlch(42.73, 48.64, 291.64°)
OKLaboklab(51.3% 0.006 -0.1287)
OKLCHoklch(51.3% 0.129 272.7)
XYZxyz(15.1506, 12.9802, 42.7729)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FB0 #B0A04F
analogous
#4F90B0 #4F5FB0 #6F4FB0
triadic
#4F5FB0 #B04F5F #5FB04F
tetradic
#4F5FB0 #B04F90 #B0A04F #4FB06F
square
#4F5FB0 #B04F90 #B0A04F #4FB06F
split-complementary
#4F5FB0 #B06F4F #90B04F
monochromatic
#29315C #3C4886 #4F5FB0 #7985C3 #A3ACD6

Accessibility & contrast

On white

5.84
#4F5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4F5FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FB0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FB0#FFFFFF#000000##FFFFFF
##4F5FB01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B3
Deuteranopia (green-blind)
#2F61AE
Tritanopia (blue-blind)
#1C717F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f5fb0;
/* rgb */ color: rgb(79, 95, 176);
/* oklch */ color: oklch(51.3% 0.129 272.7);
Tailwind
colors: {
  custom: {
    50: '#888cc8',
    500: '#4f5fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fb0;
$custom-light: #888cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fb0",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 230.103,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.12886,
    "h": 272.7
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#4F5FB0
secondary
#C3BC98
accent
#BB5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F5FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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