#4874CA#4874CA

#4874CA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.0% C 0.142 H 262.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4874CA
RGBrgb(72, 116, 202)
HSLhsl(220, 55%, 54%)
HSVhsv(220, 64%, 79%)
CMYKcmyk(64.4%, 42.6%, 0%, 20.8%)
CIE-LABlab(49.65, 12.28, -49.24)
CIE-LCHlch(49.65, 50.75, 284.00°)
OKLaboklab(57% -0.0188 -0.1404)
OKLCHoklch(57% 0.142 262.4)
XYZxyz(19.5748, 18.1309, 58.3337)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874CA #CA9E48
analogous
#48B5CA #4874CA #5D48CA
triadic
#4874CA #CA4874 #74CA48
tetradic
#4874CA #CA48B5 #CA9E48 #48CA5D
square
#4874CA #CA48B5 #CA9E48 #48CA5D
split-complementary
#4874CA #CA5D48 #B5CA48
monochromatic
#223E76 #3057A5 #4874CA #7798D8 #A7BCE5

Accessibility & contrast

On white

4.54
#4874CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4874CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874CA#FFFFFF#000000##000000
##4874CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCD
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4874ca;
/* rgb */ color: rgb(72, 116, 202);
/* oklch */ color: oklch(57.0% 0.142 262.4);
Tailwind
colors: {
  custom: {
    50: '#879bda',
    500: '#4874ca',
    950: '#000000',
  },
}
SCSS
$custom: #4874ca;
$custom-light: #879bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4874ca",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 219.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.14169,
    "h": 262.4
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#4874CA
secondary
#D3C09B
accent
#AC49DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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