#4874CD#4874CD

#4874CD is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.146 H 262.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4874CD
RGBrgb(72, 116, 205)
HSLhsl(220, 57%, 54%)
HSVhsv(220, 65%, 80%)
CMYKcmyk(64.9%, 43.4%, 0%, 19.6%)
CIE-LABlab(49.83, 13.33, -50.68)
CIE-LCHlch(49.83, 52.40, 284.73°)
OKLaboklab(57.19% -0.0182 -0.1447)
OKLCHoklch(57.19% 0.146 262.8)
XYZxyz(19.9335, 18.2744, 60.2226)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874CD #CDA148
analogous
#48B7CD #4874CD #5E48CD
triadic
#4874CD #CD4874 #74CD48
tetradic
#4874CD #CD48B7 #CDA148 #48CD5E
square
#4874CD #CD48B7 #CDA148 #48CD5E
split-complementary
#4874CD #CD5E48 #B7CD48
monochromatic
#213E79 #2E57A9 #4874CD #7899DA #A8BDE7

Accessibility & contrast

On white

4.51
#4874CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4874CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874CD#FFFFFF#000000##000000
##4874CD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4874cd;
/* rgb */ color: rgb(72, 116, 205);
/* oklch */ color: oklch(57.2% 0.146 262.8);
Tailwind
colors: {
  custom: {
    50: '#889bdd',
    500: '#4874cd',
    950: '#000000',
  },
}
SCSS
$custom: #4874cd;
$custom-light: #889bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4874cd",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 220.15,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.1458,
    "h": 262.8
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#4874CD
secondary
#D5C29C
accent
#AE47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4874CD

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

Preview Lab → · Contrast checker → · Palette generator →

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