#4857CA#4857CA

#4857CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.178 H 272.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4857CA
RGBrgb(72, 87, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 64%, 79%)
CMYKcmyk(64.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.93, 30.54, -61.67)
CIE-LCHlch(41.93, 68.82, 296.35°)
OKLaboklab(51.14% 0.0087 -0.1774)
OKLCHoklch(51.14% 0.178 272.8)
XYZxyz(16.7378, 12.4569, 57.3880)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857CA #CABB48
analogous
#4898CA #4857CA #7A48CA
triadic
#4857CA #CA4857 #57CA48
tetradic
#4857CA #CA4898 #CABB48 #48CA7A
square
#4857CA #CA4898 #CABB48 #48CA7A
split-complementary
#4857CA #CA7A48 #98CA48
monochromatic
#222C76 #303DA5 #4857CA #7783D8 #A7AEE5

Accessibility & contrast

On white

6.01
#4857CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4857CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857CA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857CA#FFFFFF#000000##FFFFFF
##4857CA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4857ca;
/* rgb */ color: rgb(72, 87, 202);
/* oklch */ color: oklch(51.1% 0.178 272.8);
Tailwind
colors: {
  custom: {
    50: '#8986db',
    500: '#4857ca',
    950: '#000000',
  },
}
SCSS
$custom: #4857ca;
$custom-light: #8986db;
$custom-dark: #000000;
JSON
{
  "hex": "#4857ca",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 233.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.17759,
    "h": 272.8
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#4857CA
secondary
#D3CC9B
accent
#CD49DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4857CA

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

Preview Lab → · Contrast checker → · Palette generator →

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