#4F54BF#4F54BF

#4F54BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.165 H 276.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4F54BF
RGBrgb(79, 84, 191)
HSLhsl(237, 47%, 53%)
HSVhsv(237, 59%, 75%)
CMYKcmyk(58.6%, 56%, 0%, 25.1%)
CIE-LABlab(40.84, 29.91, -57.04)
CIE-LCHlch(40.84, 64.41, 297.67°)
OKLaboklab(50.19% 0.0191 -0.1636)
OKLCHoklch(50.19% 0.165 276.7)
XYZxyz(15.7957, 11.7633, 50.7183)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54BF #BFBA4F
analogous
#4F8CBF #4F54BF #824FBF
triadic
#4F54BF #BF4F54 #54BF4F
tetradic
#4F54BF #BF4F8C #BFBA4F #4FBF82
square
#4F54BF #BF4F8C #BFBA4F #4FBF82
split-complementary
#4F54BF #BF824F #8CBF4F
monochromatic
#272A6C #383C99 #4F54BF #7C80CF #A9ABE0

Accessibility & contrast

On white

6.26
#4F54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4F54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54BF#FFFFFF#000000##FFFFFF
##4F54BF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f54bf;
/* rgb */ color: rgb(79, 84, 191);
/* oklch */ color: oklch(50.2% 0.165 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a84d3',
    500: '#4f54bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f54bf;
$custom-light: #8a84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54bf",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 237.321,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.16472,
    "h": 276.7
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#4F54BF
secondary
#CDCB9D
accent
#D051D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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