#4874BF#4874BF

#4874BF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.3% C 0.127 H 260.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4874BF
RGBrgb(72, 116, 191)
HSLhsl(218, 48%, 52%)
HSVhsv(218, 62%, 75%)
CMYKcmyk(62.3%, 39.3%, 0%, 25.1%)
CIE-LABlab(49.04, 8.46, -43.91)
CIE-LCHlch(49.04, 44.71, 280.91°)
OKLaboklab(56.33% -0.021 -0.1248)
OKLCHoklch(56.33% 0.127 260.4)
XYZxyz(18.3185, 17.6284, 51.7174)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874BF #BF9348
analogous
#48B0BF #4874BF #5848BF
triadic
#4874BF #BF4874 #74BF48
tetradic
#4874BF #BF48B0 #BF9348 #48BF58
square
#4874BF #BF48B0 #BF9348 #48BF58
split-complementary
#4874BF #BF5848 #B0BF48
monochromatic
#243D68 #345896 #4874BF #7596CF #A3B9DF

Accessibility & contrast

On white

4.64
#4874BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4874BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4874BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874BF#FFFFFF#000000##FFFFFF
##4874BF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4874bf;
/* rgb */ color: rgb(72, 116, 191);
/* oklch */ color: oklch(56.3% 0.127 260.4);
Tailwind
colors: {
  custom: {
    50: '#869bd3',
    500: '#4874bf',
    950: '#000000',
  },
}
SCSS
$custom: #4874bf;
$custom-light: #869bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4874bf",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 217.815,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.12655,
    "h": 260.4
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#4874BF
secondary
#CCB897
accent
#A650D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4874BF

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

Preview Lab → · Contrast checker → · Palette generator →

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