#4F4FBF#4F4FBF

#4F4FBF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.171 H 278.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4F4FBF
RGBrgb(79, 79, 191)
HSLhsl(240, 47%, 53%)
HSVhsv(240, 59%, 75%)
CMYKcmyk(58.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.61, 33.03, -59.04)
CIE-LCHlch(39.61, 67.65, 299.23°)
OKLaboklab(49.27% 0.024 -0.1695)
OKLCHoklch(49.27% 0.171 278.1)
XYZxyz(15.4214, 11.0147, 50.5935)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FBF #BFBF4F
analogous
#4F87BF #4F4FBF #874FBF
triadic
#4F4FBF #BF4F4F #4FBF4F
tetradic
#4F4FBF #BF4F87 #BFBF4F #4FBF87
square
#4F4FBF #BF4F87 #BFBF4F #4FBF87
split-complementary
#4F4FBF #BF874F #87BF4F
monochromatic
#27276C #383899 #4F4FBF #7C7CCF #A9A9E0

Accessibility & contrast

On white

6.56
#4F4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4F4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FBF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FBF#FFFFFF#000000##FFFFFF
##4F4FBF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f4fbf;
/* rgb */ color: rgb(79, 79, 191);
/* oklch */ color: oklch(49.3% 0.171 278.1);
Tailwind
colors: {
  custom: {
    50: '#8b80d3',
    500: '#4f4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fbf;
$custom-light: #8b80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fbf",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.17123,
    "h": 278.1
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#4F4FBF
secondary
#CDCD9D
accent
#D651D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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