#4F5EB8#4F5EB8

#4F5EB8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.142 H 273.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F5EB8
RGBrgb(79, 94, 184)
HSLhsl(231, 43%, 52%)
HSVhsv(231, 57%, 72%)
CMYKcmyk(57.1%, 48.9%, 0%, 27.8%)
CIE-LABlab(42.95, 21.25, -49.54)
CIE-LCHlch(42.95, 53.91, 293.21°)
OKLaboklab(51.63% 0.0082 -0.1415)
OKLCHoklch(51.63% 0.142 273.3)
XYZxyz(15.8761, 13.1272, 47.0353)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EB8 #B8A94F
analogous
#4F93B8 #4F5EB8 #754FB8
triadic
#4F5EB8 #B84F5E #5EB84F
tetradic
#4F5EB8 #B84F93 #B8A94F #4FB875
square
#4F5EB8 #B84F93 #B8A94F #4FB875
split-complementary
#4F5EB8 #B8754F #93B84F
monochromatic
#283164 #3A4690 #4F5EB8 #7B86CA #A6AEDB

Accessibility & contrast

On white

5.79
#4F5EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F5EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EB8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EB8#FFFFFF#000000##FFFFFF
##4F5EB81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#0D7282
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f5eb8;
/* rgb */ color: rgb(79, 94, 184);
/* oklch */ color: oklch(51.6% 0.142 273.3);
Tailwind
colors: {
  custom: {
    50: '#898bce',
    500: '#4f5eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5eb8;
$custom-light: #898bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5eb8",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 231.429,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.1417,
    "h": 273.3
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#4F5EB8
secondary
#C8C29A
accent
#C056D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4F5EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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