#4F5DBE#4F5DBE

#4F5DBE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.152 H 273.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4F5DBE
RGBrgb(79, 93, 190)
HSLhsl(232, 46%, 53%)
HSVhsv(232, 58%, 75%)
CMYKcmyk(58.4%, 51.1%, 0%, 25.5%)
CIE-LABlab(43.07, 23.90, -52.85)
CIE-LCHlch(43.07, 58.00, 294.33°)
OKLaboklab(51.84% 0.0099 -0.1512)
OKLCHoklch(51.84% 0.152 273.7)
XYZxyz(16.4300, 13.2074, 50.3887)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DBE #BEB04F
analogous
#4F95BE #4F5DBE #784FBE
triadic
#4F5DBE #BE4F5D #5DBE4F
tetradic
#4F5DBE #BE4F95 #BEB04F #4FBE78
square
#4F5DBE #BE4F95 #BEB04F #4FBE78
split-complementary
#4F5DBE #BE784F #95BE4F
monochromatic
#28306B #384498 #4F5DBE #7C86CF #A8AFDF

Accessibility & contrast

On white

5.77
#4F5DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4F5DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DBE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DBE#FFFFFF#000000##FFFFFF
##4F5DBE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC1
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5dbe;
/* rgb */ color: rgb(79, 93, 190);
/* oklch */ color: oklch(51.8% 0.152 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a8ad2',
    500: '#4f5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dbe;
$custom-light: #8a8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dbe",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 232.432,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.15151,
    "h": 273.7
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#4F5DBE
secondary
#CCC69C
accent
#C552D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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