#4862C8#4862C8

#4862C8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.161 H 269.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4862C8
RGBrgb(72, 98, 200)
HSLhsl(228, 54%, 53%)
HSVhsv(228, 64%, 78%)
CMYKcmyk(64%, 51%, 0%, 21.6%)
CIE-LABlab(44.63, 22.89, -56.14)
CIE-LCHlch(44.63, 60.63, 292.18°)
OKLaboklab(53.12% -0.0015 -0.161)
OKLCHoklch(53.12% 0.161 269.5)
XYZxyz(17.4620, 14.2817, 56.4688)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862C8 #C8AE48
analogous
#48A2C8 #4862C8 #6E48C8
triadic
#4862C8 #C84862 #62C848
tetradic
#4862C8 #C848A2 #C8AE48 #48C86E
square
#4862C8 #C848A2 #C8AE48 #48C86E
split-complementary
#4862C8 #C86E48 #A2C848
monochromatic
#233373 #3148A2 #4862C8 #778AD6 #A6B3E4

Accessibility & contrast

On white

5.45
#4862C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4862C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862C8#FFFFFF#000000##FFFFFF
##4862C81.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4862c8;
/* rgb */ color: rgb(72, 98, 200);
/* oklch */ color: oklch(53.1% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#888ed9',
    500: '#4862c8',
    950: '#000000',
  },
}
SCSS
$custom: #4862c8;
$custom-light: #888ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4862c8",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 227.813,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.161,
    "h": 269.5
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#4862C8
secondary
#D1C69A
accent
#BF4BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4862C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4862C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva