#4F50CA#4F50CA

#4F50CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.185 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4F50CA
RGBrgb(79, 80, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 61%, 79%)
CMYKcmyk(60.9%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.67, 36.04, -63.69)
CIE-LCHlch(40.67, 73.18, 299.50°)
OKLaboklab(50.32% 0.0229 -0.1832)
OKLCHoklch(50.32% 0.185 277.1)
XYZxyz(16.7503, 11.6626, 57.2341)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50CA #CAC94F
analogous
#4F8ECA #4F50CA #8B4FCA
triadic
#4F50CA #CA4F50 #50CA4F
tetradic
#4F50CA #CA4F8E #CAC94F #4FCA8B
square
#4F50CA #CA4F8E #CAC94F #4FCA8B
split-complementary
#4F50CA #CA8B4F #8ECA4F
monochromatic
#25257A #3334A9 #4F50CA #7E7FD8 #ADAEE6

Accessibility & contrast

On white

6.30
#4F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50CA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50CA#FFFFFF#000000##FFFFFF
##4F50CA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f50ca;
/* rgb */ color: rgb(79, 80, 202);
/* oklch */ color: oklch(50.3% 0.185 277.1);
Tailwind
colors: {
  custom: {
    50: '#8d81db',
    500: '#4f50ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f50ca;
$custom-light: #8d81db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50ca",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 239.512,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.18463,
    "h": 277.1
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#4F50CA
secondary
#D4D4A1
accent
#DC4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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