#4874CB#4874CB

#4874CB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.1% C 0.143 H 262.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4874CB
RGBrgb(72, 116, 203)
HSLhsl(220, 56%, 54%)
HSVhsv(220, 65%, 80%)
CMYKcmyk(64.5%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.71, 12.63, -49.72)
CIE-LCHlch(49.71, 51.30, 284.25°)
OKLaboklab(57.06% -0.0186 -0.1418)
OKLCHoklch(57.06% 0.143 262.5)
XYZxyz(19.6936, 18.1784, 58.9593)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874CB #CB9F48
analogous
#48B6CB #4874CB #5E48CB
triadic
#4874CB #CB4874 #74CB48
tetradic
#4874CB #CB48B6 #CB9F48 #48CB5E
square
#4874CB #CB48B6 #CB9F48 #48CB5E
split-complementary
#4874CB #CB5E48 #B6CB48
monochromatic
#223E77 #2F57A6 #4874CB #7898D9 #A7BCE6

Accessibility & contrast

On white

4.53
#4874CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4874CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874CB#FFFFFF#000000##000000
##4874CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4874cb;
/* rgb */ color: rgb(72, 116, 203);
/* oklch */ color: oklch(57.1% 0.143 262.5);
Tailwind
colors: {
  custom: {
    50: '#889bdb',
    500: '#4874cb',
    950: '#000000',
  },
}
SCSS
$custom: #4874cb;
$custom-light: #889bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4874cb",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 219.847,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5706,
    "c": 0.14305,
    "h": 262.5
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#4874CB
secondary
#D3C19B
accent
#AD49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4874CB

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

Preview Lab → · Contrast checker → · Palette generator →

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