#4F54BE#4F54BE

#4F54BE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.163 H 276.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4F54BE
RGBrgb(79, 84, 190)
HSLhsl(237, 46%, 53%)
HSVhsv(237, 58%, 75%)
CMYKcmyk(58.4%, 55.8%, 0%, 25.5%)
CIE-LABlab(40.77, 29.57, -56.57)
CIE-LCHlch(40.77, 63.84, 297.60°)
OKLaboklab(50.11% 0.0191 -0.1622)
OKLCHoklch(50.11% 0.163 276.7)
XYZxyz(15.6860, 11.7195, 50.1407)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54BE #BEB94F
analogous
#4F8CBE #4F54BE #814FBE
triadic
#4F54BE #BE4F54 #54BE4F
tetradic
#4F54BE #BE4F8C #BEB94F #4FBE81
square
#4F54BE #BE4F8C #BEB94F #4FBE81
split-complementary
#4F54BE #BE814F #8CBE4F
monochromatic
#282B6B #383C98 #4F54BE #7C7FCF #A8ABDF

Accessibility & contrast

On white

6.28
#4F54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F54BE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54BE#FFFFFF#000000##FFFFFF
##4F54BE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f54be;
/* rgb */ color: rgb(79, 84, 190);
/* oklch */ color: oklch(50.1% 0.163 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a84d2',
    500: '#4f54be',
    950: '#000000',
  },
}
SCSS
$custom: #4f54be;
$custom-light: #8a84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54be",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 237.297,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.16335,
    "h": 276.7
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#4F54BE
secondary
#CCCA9C
accent
#D052D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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