#4850CF#4850CF

#4850CF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.193 H 274.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4850CF
RGBrgb(72, 80, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(65.2%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.60, 36.62, -66.72)
CIE-LCHlch(40.60, 76.11, 298.76°)
OKLaboklab(50.27% 0.0146 -0.1923)
OKLCHoklch(50.27% 0.193 274.3)
XYZxyz(16.7999, 11.6186, 60.3767)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4850CF #CFC748
analogous
#4894CF #4850CF #8348CF
triadic
#4850CF #CF4850 #50CF48
tetradic
#4850CF #CF4894 #CFC748 #48CF83
square
#4850CF #CF4894 #CFC748 #48CF83
split-complementary
#4850CF #CF8348 #94CF48
monochromatic
#21267C #2D35AD #4850CF #787EDC #A9ADE8

Accessibility & contrast

On white

6.32
#4850CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4850CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4850CF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4850CF#FFFFFF#000000##FFFFFF
##4850CF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.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: #4850cf;
/* rgb */ color: rgb(72, 80, 207);
/* oklch */ color: oklch(50.3% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a81df',
    500: '#4850cf',
    950: '#000000',
  },
}
SCSS
$custom: #4850cf;
$custom-light: #8a81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4850cf",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 236.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5027,
    "c": 0.19283,
    "h": 274.3
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#4850CF
secondary
#D6D29D
accent
#D846E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4850CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4850CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva