#4857CF#4857CF

#4857CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.184 H 272.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4857CF
RGBrgb(72, 87, 207)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(65.2%, 58%, 0%, 18.8%)
CIE-LABlab(42.30, 32.26, -63.95)
CIE-LCHlch(42.30, 71.63, 296.77°)
OKLaboklab(51.53% 0.0088 -0.1841)
OKLCHoklch(51.53% 0.184 272.7)
XYZxyz(17.3394, 12.6976, 60.5565)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857CF #CFC048
analogous
#489BCF #4857CF #7C48CF
triadic
#4857CF #CF4857 #57CF48
tetradic
#4857CF #CF489B #CFC048 #48CF7C
square
#4857CF #CF489B #CFC048 #48CF7C
split-complementary
#4857CF #CF7C48 #9BCF48
monochromatic
#212B7C #2D3BAD #4857CF #7884DC #A9B0E8

Accessibility & contrast

On white

5.93
#4857CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4857CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857CF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857CF#FFFFFF#000000##FFFFFF
##4857CF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4857cf;
/* rgb */ color: rgb(72, 87, 207);
/* oklch */ color: oklch(51.5% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#8a86df',
    500: '#4857cf',
    950: '#000000',
  },
}
SCSS
$custom: #4857cf;
$custom-light: #8a86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4857cf",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 233.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.18429,
    "h": 272.7
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4857CF

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

Preview Lab → · Contrast checker → · Palette generator →

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