#4F5ABE#4F5ABE

#4F5ABE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.155 H 274.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4F5ABE
RGBrgb(79, 90, 190)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 58%, 75%)
CMYKcmyk(58.4%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.29, 25.79, -54.10)
CIE-LCHlch(42.29, 59.94, 295.49°)
OKLaboklab(51.25% 0.013 -0.1549)
OKLCHoklch(51.25% 0.155 274.8)
XYZxyz(16.1719, 12.6911, 50.3026)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ABE #BEB34F
analogous
#4F91BE #4F5ABE #7B4FBE
triadic
#4F5ABE #BE4F5A #5ABE4F
tetradic
#4F5ABE #BE4F91 #BEB34F #4FBE7B
square
#4F5ABE #BE4F91 #BEB34F #4FBE7B
split-complementary
#4F5ABE #BE7B4F #91BE4F
monochromatic
#282E6B #384298 #4F5ABE #7C84CF #A8AEDF

Accessibility & contrast

On white

5.93
#4F5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ABE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ABE#FFFFFF#000000##FFFFFF
##4F5ABE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f5abe;
/* rgb */ color: rgb(79, 90, 190);
/* oklch */ color: oklch(51.3% 0.155 274.8);
Tailwind
colors: {
  custom: {
    50: '#8a88d2',
    500: '#4f5abe',
    950: '#000000',
  },
}
SCSS
$custom: #4f5abe;
$custom-light: #8a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5abe",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 234.054,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.15545,
    "h": 274.8
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#4F5ABE
secondary
#CCC89C
accent
#C952D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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