#4862D6#4862D6

#4862D6 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.180 H 269.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4862D6
RGBrgb(72, 98, 214)
HSLhsl(229, 63%, 56%)
HSVhsv(229, 66%, 84%)
CMYKcmyk(66.4%, 54.2%, 0%, 16.1%)
CIE-LABlab(45.59, 27.78, -62.63)
CIE-LCHlch(45.59, 68.52, 293.92°)
OKLaboklab(54.14% -0.0004 -0.1801)
OKLCHoklch(54.14% 0.18 269.9)
XYZxyz(19.1736, 14.9663, 65.4836)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862D6 #D6BC48
analogous
#48A9D6 #4862D6 #7548D6
triadic
#4862D6 #D64862 #62D648
tetradic
#4862D6 #D648A9 #D6BC48 #48D675
square
#4862D6 #D648A9 #D6BC48 #48D675
split-complementary
#4862D6 #D67548 #A9D648
monochromatic
#1E3186 #2943B8 #4862D6 #7A8DE1 #ACB8EC

Accessibility & contrast

On white

5.26
#4862D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4862D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862D6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862D6#FFFFFF#000000##FFFFFF
##4862D61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0273DA
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4862d6;
/* rgb */ color: rgb(72, 98, 214);
/* oklch */ color: oklch(54.1% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#8a8ee3',
    500: '#4862d6',
    950: '#000000',
  },
}
SCSS
$custom: #4862d6;
$custom-light: #8a8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4862d6",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 229.014,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.18008,
    "h": 269.9
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#4862D6
secondary
#DACFA0
accent
#C841E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4862D6

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

Preview Lab → · Contrast checker → · Palette generator →

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