#4879CF#4879CF

#4879CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.143 H 260.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4879CF
RGBrgb(72, 121, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 65%, 81%)
CMYKcmyk(65.2%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.33, 10.94, -49.41)
CIE-LCHlch(51.33, 50.61, 282.48°)
OKLaboklab(58.38% -0.0227 -0.1409)
OKLCHoklch(58.38% 0.143 260.8)
XYZxyz(20.7684, 19.5555, 61.6995)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879CF #CF9E48
analogous
#48BDCF #4879CF #5A48CF
triadic
#4879CF #CF4879 #79CF48
tetradic
#4879CF #CF48BD #CF9E48 #48CF5A
square
#4879CF #CF48BD #CF9E48 #48CF5A
split-complementary
#4879CF #CF5A48 #BDCF48
monochromatic
#21427C #2D5BAD #4879CF #789DDC #A9C0E8

Accessibility & contrast

On white

4.28
#4879CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4879CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879CF#FFFFFF#000000##000000
##4879CF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#3D75CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879cf;
/* rgb */ color: rgb(72, 121, 207);
/* oklch */ color: oklch(58.4% 0.143 260.8);
Tailwind
colors: {
  custom: {
    50: '#889fde',
    500: '#4879cf',
    950: '#000000',
  },
}
SCSS
$custom: #4879cf;
$custom-light: #889fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4879cf",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 218.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.14271,
    "h": 260.8
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#4879CF
secondary
#D6C19D
accent
#A946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4879CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4879CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva