#4874CF#4874CF

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

Color values

HEX#4874CF
RGBrgb(72, 116, 207)
HSLhsl(220, 58%, 55%)
HSVhsv(220, 65%, 81%)
CMYKcmyk(65.2%, 44%, 0%, 18.8%)
CIE-LABlab(49.94, 14.03, -51.63)
CIE-LCHlch(49.94, 53.50, 285.20°)
OKLaboklab(57.31% -0.0178 -0.1475)
OKLCHoklch(57.31% 0.149 263.1)
XYZxyz(20.1764, 18.3716, 61.5022)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874CF #CFA348
analogous
#48B8CF #4874CF #5F48CF
triadic
#4874CF #CF4874 #74CF48
tetradic
#4874CF #CF48B8 #CFA348 #48CF5F
square
#4874CF #CF48B8 #CFA348 #48CF5F
split-complementary
#4874CF #CF5F48 #B8CF48
monochromatic
#213E7C #2D57AD #4874CF #7899DC #A9BEE8

Accessibility & contrast

On white

4.49
#4874CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4874CF#FFFFFF#000000##000000
##4874CF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4874cf;
/* rgb */ color: rgb(72, 116, 207);
/* oklch */ color: oklch(57.3% 0.149 263.1);
Tailwind
colors: {
  custom: {
    50: '#889bde',
    500: '#4874cf',
    950: '#000000',
  },
}
SCSS
$custom: #4874cf;
$custom-light: #889bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4874cf",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 220.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.14854,
    "h": 263.1
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#4874CF
secondary
#D6C39D
accent
#AF46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4874CF

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

Preview Lab → · Contrast checker → · Palette generator →

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