#4F54BB#4F54BB

#4F54BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.159 H 276.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4F54BB
RGBrgb(79, 84, 187)
HSLhsl(237, 44%, 52%)
HSVhsv(237, 58%, 73%)
CMYKcmyk(57.8%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.56, 28.58, -55.16)
CIE-LCHlch(40.56, 62.12, 297.39°)
OKLaboklab(49.89% 0.019 -0.1581)
OKLCHoklch(49.89% 0.159 276.9)
XYZxyz(15.3615, 11.5897, 48.4316)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54BB #BBB64F
analogous
#4F8ABB #4F54BB #804FBB
triadic
#4F54BB #BB4F54 #54BB4F
tetradic
#4F54BB #BB4F8A #BBB64F #4FBB80
square
#4F54BB #BB4F8A #BBB64F #4FBB80
split-complementary
#4F54BB #BB804F #8ABB4F
monochromatic
#282B68 #393D94 #4F54BB #7B7FCC #A7AADD

Accessibility & contrast

On white

6.33
#4F54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54BB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54BB#FFFFFF#000000##FFFFFF
##4F54BB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#086C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f54bb;
/* rgb */ color: rgb(79, 84, 187);
/* oklch */ color: oklch(49.9% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a84d0',
    500: '#4f54bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f54bb;
$custom-light: #8a84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54bb",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 237.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.15922,
    "h": 276.9
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#4F54BB
secondary
#CAC89B
accent
#CE54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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