#4F5DCA#4F5DCA

#4F5DCA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.168 H 273.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F5DCA
RGBrgb(79, 93, 202)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 61%, 79%)
CMYKcmyk(60.9%, 54%, 0%, 20.8%)
CIE-LABlab(43.88, 27.95, -58.50)
CIE-LCHlch(43.88, 64.83, 295.54°)
OKLaboklab(52.7% 0.0107 -0.1678)
OKLCHoklch(52.7% 0.168 273.7)
XYZxyz(17.7960, 13.7538, 57.5826)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DCA #CABC4F
analogous
#4F9ACA #4F5DCA #7F4FCA
triadic
#4F5DCA #CA4F5D #5DCA4F
tetradic
#4F5DCA #CA4F9A #CABC4F #4FCA7F
square
#4F5DCA #CA4F9A #CABC4F #4FCA7F
split-complementary
#4F5DCA #CA7F4F #9ACA4F
monochromatic
#252E7A #3340A9 #4F5DCA #7E88D8 #ADB4E6

Accessibility & contrast

On white

5.60
#4F5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DCA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DCA#FFFFFF#000000##FFFFFF
##4F5DCA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5dca;
/* rgb */ color: rgb(79, 93, 202);
/* oklch */ color: oklch(52.7% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#8c8adb',
    500: '#4f5dca',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dca;
$custom-light: #8c8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dca",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 233.171,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.16815,
    "h": 273.7
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#4F5DCA
secondary
#D4CEA1
accent
#CC4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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