#4B50CF#4B50CF

#4B50CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.192 H 275.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4B50CF
RGBrgb(75, 80, 207)
HSLhsl(238, 58%, 55%)
HSVhsv(238, 64%, 81%)
CMYKcmyk(63.8%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.79, 37.07, -66.40)
CIE-LCHlch(40.79, 76.05, 299.17°)
OKLaboklab(50.46% 0.018 -0.1913)
OKLCHoklch(50.46% 0.192 275.4)
XYZxyz(17.0291, 11.7367, 60.3874)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B50CF #CFCA4B
analogous
#4B92CF #4B50CF #884BCF
triadic
#4B50CF #CF4B50 #50CF4B
tetradic
#4B50CF #CF4B92 #CFCA4B #4BCF88
square
#4B50CF #CF4B92 #CFCA4B #4BCF88
split-complementary
#4B50CF #CF884B #92CF4B
monochromatic
#22257E #2E33AE #4B50CF #7B7FDC #ACAEE9

Accessibility & contrast

On white

6.27
#4B50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4B50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B50CF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B50CF#FFFFFF#000000##FFFFFF
##4B50CF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b50cf;
/* rgb */ color: rgb(75, 80, 207);
/* oklch */ color: oklch(50.5% 0.192 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c81df',
    500: '#4b50cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b50cf;
$custom-light: #8c81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b50cf",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 237.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.1921,
    "h": 275.4
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#4B50CF
secondary
#D6D49F
accent
#DB47E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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