#4856B7#4856B7

#4856B7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.153 H 273.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4856B7
RGBrgb(72, 86, 183)
HSLhsl(232, 44%, 50%)
HSVhsv(232, 61%, 72%)
CMYKcmyk(60.7%, 53%, 0%, 28.2%)
CIE-LABlab(40.33, 24.64, -53.20)
CIE-LCHlch(40.33, 58.63, 294.85°)
OKLaboklab(49.51% 0.0089 -0.1525)
OKLCHoklch(49.51% 0.153 273.3)
XYZxyz(14.5447, 11.4510, 46.2344)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856B7 #B7A948
analogous
#488EB7 #4856B7 #7148B7
triadic
#4856B7 #B74856 #56B748
tetradic
#4856B7 #B7488E #B7A948 #48B771
square
#4856B7 #B7488E #B7A948 #48B771
split-complementary
#4856B7 #B77148 #8EB748
monochromatic
#252D5F #37418B #4856B7 #747FC8 #A0A7DA

Accessibility & contrast

On white

6.38
#4856B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4856B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856B7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856B7#FFFFFF#000000##FFFFFF
##4856B71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4856b7;
/* rgb */ color: rgb(72, 86, 183);
/* oklch */ color: oklch(49.5% 0.153 273.3);
Tailwind
colors: {
  custom: {
    50: '#8585cd',
    500: '#4856b7',
    950: '#000000',
  },
}
SCSS
$custom: #4856b7;
$custom-light: #8585cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4856b7",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 232.432,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.15275,
    "h": 273.3
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#4856B7
secondary
#C6C095
accent
#C355D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4856B7

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

Preview Lab → · Contrast checker → · Palette generator →

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