#4861D7#4861D7

#4861D7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.183 H 270.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4861D7
RGBrgb(72, 97, 215)
HSLhsl(230, 64%, 56%)
HSVhsv(230, 67%, 84%)
CMYKcmyk(66.5%, 54.9%, 0%, 15.7%)
CIE-LABlab(45.40, 28.75, -63.50)
CIE-LCHlch(45.40, 69.71, 294.36°)
OKLaboklab(54.03% 0.0005 -0.1826)
OKLCHoklch(54.03% 0.183 270.2)
XYZxyz(19.2088, 14.8316, 66.1273)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4861D7 #D7BE48
analogous
#48A9D7 #4861D7 #7748D7
triadic
#4861D7 #D74861 #61D748
tetradic
#4861D7 #D748A9 #D7BE48 #48D777
square
#4861D7 #D748A9 #D7BE48 #48D777
split-complementary
#4861D7 #D77748 #A9D748
monochromatic
#1E3087 #2942B9 #4861D7 #7A8CE2 #ACB8ED

Accessibility & contrast

On white

5.29
#4861D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4861D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4861D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4861D7#FFFFFF#000000##FFFFFF
##4861D71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4861d7;
/* rgb */ color: rgb(72, 97, 215);
/* oklch */ color: oklch(54.0% 0.183 270.2);
Tailwind
colors: {
  custom: {
    50: '#8b8de4',
    500: '#4861d7',
    950: '#000000',
  },
}
SCSS
$custom: #4861d7;
$custom-light: #8b8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#4861d7",
  "rgb": {
    "r": 72,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 229.51,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.18265,
    "h": 270.2
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#4861D7
secondary
#DBD1A0
accent
#CA41E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4861D7

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

Preview Lab → · Contrast checker → · Palette generator →

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