#4F5CBE#4F5CBE

#4F5CBE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.153 H 274.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4F5CBE
RGBrgb(79, 92, 190)
HSLhsl(233, 46%, 53%)
HSVhsv(233, 58%, 75%)
CMYKcmyk(58.4%, 51.6%, 0%, 25.5%)
CIE-LABlab(42.81, 24.53, -53.27)
CIE-LCHlch(42.81, 58.64, 294.73°)
OKLaboklab(51.64% 0.0109 -0.1524)
OKLCHoklch(51.64% 0.153 274.1)
XYZxyz(16.3428, 13.0330, 50.3596)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CBE #BEB14F
analogous
#4F93BE #4F5CBE #794FBE
triadic
#4F5CBE #BE4F5C #5CBE4F
tetradic
#4F5CBE #BE4F93 #BEB14F #4FBE79
square
#4F5CBE #BE4F93 #BEB14F #4FBE79
split-complementary
#4F5CBE #BE794F #93BE4F
monochromatic
#282F6B #384398 #4F5CBE #7C85CF #A8AFDF

Accessibility & contrast

On white

5.82
#4F5CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4F5CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CBE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CBE#FFFFFF#000000##FFFFFF
##4F5CBE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#0B61BC
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f5cbe;
/* rgb */ color: rgb(79, 92, 190);
/* oklch */ color: oklch(51.6% 0.153 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ad2',
    500: '#4f5cbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cbe;
$custom-light: #8a8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cbe",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 232.973,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.15282,
    "h": 274.1
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#4F5CBE
secondary
#CCC79C
accent
#C652D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F5CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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