#4874CE#4874CE

#4874CE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.3% C 0.147 H 263.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4874CE
RGBrgb(72, 116, 206)
HSLhsl(220, 58%, 55%)
HSVhsv(220, 65%, 81%)
CMYKcmyk(65%, 43.7%, 0%, 19.2%)
CIE-LABlab(49.89, 13.68, -51.15)
CIE-LCHlch(49.89, 52.95, 284.97°)
OKLaboklab(57.25% -0.018 -0.1461)
OKLCHoklch(57.25% 0.147 263)
XYZxyz(20.0545, 18.3228, 60.8603)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874CE #CEA248
analogous
#48B7CE #4874CE #5F48CE
triadic
#4874CE #CE4874 #74CE48
tetradic
#4874CE #CE48B7 #CEA248 #48CE5F
square
#4874CE #CE48B7 #CEA248 #48CE5F
split-complementary
#4874CE #CE5F48 #B7CE48
monochromatic
#213E7B #2E57AB #4874CE #7899DB #A9BDE8

Accessibility & contrast

On white

4.50
#4874CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4874CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874CE#FFFFFF#000000##000000
##4874CE1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4874ce;
/* rgb */ color: rgb(72, 116, 206);
/* oklch */ color: oklch(57.3% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#889bdd',
    500: '#4874ce',
    950: '#000000',
  },
}
SCSS
$custom: #4874ce;
$custom-light: #889bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4874ce",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 220.299,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.14717,
    "h": 263
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#4874CE
secondary
#D5C39D
accent
#AE47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4874CE

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

Preview Lab → · Contrast checker → · Palette generator →

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