#4856CF#4856CF

#4856CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.186 H 273.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4856CF
RGBrgb(72, 86, 207)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 65%, 81%)
CMYKcmyk(65.2%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.06, 32.89, -64.35)
CIE-LCHlch(42.06, 72.27, 297.07°)
OKLaboklab(51.34% 0.0096 -0.1853)
OKLCHoklch(51.34% 0.186 273)
XYZxyz(17.2590, 12.5368, 60.5297)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856CF #CFC148
analogous
#4899CF #4856CF #7E48CF
triadic
#4856CF #CF4856 #56CF48
tetradic
#4856CF #CF4899 #CFC148 #48CF7E
square
#4856CF #CF4899 #CFC148 #48CF7E
split-complementary
#4856CF #CF7E48 #99CF48
monochromatic
#212A7C #2D3AAD #4856CF #7883DC #A9B0E8

Accessibility & contrast

On white

5.99
#4856CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4856CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856CF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856CF#FFFFFF#000000##FFFFFF
##4856CF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4856cf;
/* rgb */ color: rgb(72, 86, 207);
/* oklch */ color: oklch(51.3% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a85df',
    500: '#4856cf',
    950: '#000000',
  },
}
SCSS
$custom: #4856cf;
$custom-light: #8a85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4856cf",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 233.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.18552,
    "h": 273
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#4856CF
secondary
#D6D09D
accent
#D246E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856CF

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

Preview Lab → · Contrast checker → · Palette generator →

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