#4879CD#4879CD

#4879CD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.140 H 260.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4879CD
RGBrgb(72, 121, 205)
HSLhsl(218, 57%, 54%)
HSVhsv(218, 65%, 80%)
CMYKcmyk(64.9%, 41%, 0%, 19.6%)
CIE-LABlab(51.22, 10.24, -48.45)
CIE-LCHlch(51.22, 49.52, 281.93°)
OKLaboklab(58.26% -0.0231 -0.1381)
OKLCHoklch(58.26% 0.14 260.5)
XYZxyz(20.5254, 19.4583, 60.4199)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879CD #CD9C48
analogous
#48BCCD #4879CD #5A48CD
triadic
#4879CD #CD4879 #79CD48
tetradic
#4879CD #CD48BC #CD9C48 #48CD5A
square
#4879CD #CD48BC #CD9C48 #48CD5A
split-complementary
#4879CD #CD5A48 #BCCD48
monochromatic
#214279 #2E5CA9 #4879CD #789CDA #A8BFE7

Accessibility & contrast

On white

4.29
#4879CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4879CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879CD#FFFFFF#000000##000000
##4879CD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879cd;
/* rgb */ color: rgb(72, 121, 205);
/* oklch */ color: oklch(58.3% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#889fdd',
    500: '#4879cd',
    950: '#000000',
  },
}
SCSS
$custom: #4879cd;
$custom-light: #889fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4879cd",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 217.895,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.14,
    "h": 260.5
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#4879CD
secondary
#D5C09C
accent
#A847E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4879CD

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

Preview Lab → · Contrast checker → · Palette generator →

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