#4F50CB#4F50CB

#4F50CB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.186 H 277.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4F50CB
RGBrgb(79, 80, 203)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 61%, 80%)
CMYKcmyk(61.1%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.75, 36.37, -64.15)
CIE-LCHlch(40.75, 73.74, 299.55°)
OKLaboklab(50.4% 0.0228 -0.1845)
OKLCHoklch(50.4% 0.186 277)
XYZxyz(16.8691, 11.7101, 57.8597)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50CB #CBCA4F
analogous
#4F8ECB #4F50CB #8C4FCB
triadic
#4F50CB #CB4F50 #50CB4F
tetradic
#4F50CB #CB4F8E #CBCA4F #4FCB8C
square
#4F50CB #CB4F8E #CBCA4F #4FCB8C
split-complementary
#4F50CB #CB8C4F #8ECB4F
monochromatic
#24257B #3233AA #4F50CB #7E7FD9 #ADAEE7

Accessibility & contrast

On white

6.28
#4F50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4F50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50CB#FFFFFF#000000##FFFFFF
##4F50CB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f50cb;
/* rgb */ color: rgb(79, 80, 203);
/* oklch */ color: oklch(50.4% 0.186 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d81dc',
    500: '#4f50cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f50cb;
$custom-light: #8d81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50cb",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 239.516,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.18595,
    "h": 277
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#4F50CB
secondary
#D5D4A1
accent
#DD4ADE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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