#4F55BA#4F55BA

#4F55BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.157 H 276.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4F55BA
RGBrgb(79, 85, 186)
HSLhsl(237, 44%, 52%)
HSVhsv(237, 58%, 73%)
CMYKcmyk(57.5%, 54.3%, 0%, 27.1%)
CIE-LABlab(40.74, 27.61, -54.28)
CIE-LCHlch(40.74, 60.90, 296.97°)
OKLaboklab(50% 0.0179 -0.1555)
OKLCHoklch(50% 0.157 276.6)
XYZxyz(15.3330, 11.7033, 47.8958)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F55BA #BAB44F
analogous
#4F8ABA #4F55BA #7F4FBA
triadic
#4F55BA #BA4F55 #55BA4F
tetradic
#4F55BA #BA4F8A #BAB44F #4FBA7F
square
#4F55BA #BA4F8A #BAB44F #4FBA7F
split-complementary
#4F55BA #BA7F4F #8ABA4F
monochromatic
#282C66 #393E92 #4F55BA #7B7FCB #A7AADC

Accessibility & contrast

On white

6.29
#4F55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4F55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F55BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F55BA#FFFFFF#000000##FFFFFF
##4F55BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#0B6C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f55ba;
/* rgb */ color: rgb(79, 85, 186);
/* oklch */ color: oklch(50.0% 0.157 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a84cf',
    500: '#4f55ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f55ba;
$custom-light: #8a84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f55ba",
  "rgb": {
    "r": 79,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 236.636,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.1565,
    "h": 276.6
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#4F55BA
secondary
#CAC79B
accent
#CC54D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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