#4861D4#4861D4

#4861D4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.179 H 270.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4861D4
RGBrgb(72, 97, 212)
HSLhsl(229, 62%, 56%)
HSVhsv(229, 66%, 83%)
CMYKcmyk(66%, 54.2%, 0%, 16.9%)
CIE-LABlab(45.19, 27.71, -62.13)
CIE-LCHlch(45.19, 68.03, 294.03°)
OKLaboklab(53.8% 0.0003 -0.1786)
OKLCHoklch(53.8% 0.179 270.1)
XYZxyz(18.8268, 14.6788, 64.1157)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4861D4 #D4BB48
analogous
#48A7D4 #4861D4 #7548D4
triadic
#4861D4 #D44861 #61D448
tetradic
#4861D4 #D448A7 #D4BB48 #48D475
square
#4861D4 #D448A7 #D4BB48 #48D475
split-complementary
#4861D4 #D47548 #A7D448
monochromatic
#1F3183 #2A43B4 #4861D4 #7A8CE0 #ABB7EB

Accessibility & contrast

On white

5.34
#4861D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4861D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4861D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4861D4#FFFFFF#000000##FFFFFF
##4861D41.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0372D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4861d4;
/* rgb */ color: rgb(72, 97, 212);
/* oklch */ color: oklch(53.8% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a8de2',
    500: '#4861d4',
    950: '#000000',
  },
}
SCSS
$custom: #4861d4;
$custom-light: #8a8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4861d4",
  "rgb": {
    "r": 72,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 229.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.17862,
    "h": 270.1
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#4861D4
secondary
#D9CF9F
accent
#C843E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4861D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4861D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva