#4871CA#4871CA

#4871CA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.145 H 263.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4871CA
RGBrgb(72, 113, 202)
HSLhsl(221, 55%, 54%)
HSVhsv(221, 64%, 79%)
CMYKcmyk(64.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.82, 14.14, -50.57)
CIE-LCHlch(48.82, 52.51, 285.63°)
OKLaboklab(56.36% -0.0158 -0.1444)
OKLCHoklch(56.36% 0.145 263.8)
XYZxyz(19.2346, 17.4504, 58.2203)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CA #CAA148
analogous
#48B2CA #4871CA #6048CA
triadic
#4871CA #CA4871 #71CA48
tetradic
#4871CA #CA48B2 #CAA148 #48CA60
square
#4871CA #CA48B2 #CAA148 #48CA60
split-complementary
#4871CA #CA6048 #B2CA48
monochromatic
#223C76 #3055A5 #4871CA #7796D8 #A7BBE5

Accessibility & contrast

On white

4.68
#4871CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4871CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CA#FFFFFF#000000##FFFFFF
##4871CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACD
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4871ca;
/* rgb */ color: rgb(72, 113, 202);
/* oklch */ color: oklch(56.4% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#8799db',
    500: '#4871ca',
    950: '#000000',
  },
}
SCSS
$custom: #4871ca;
$custom-light: #8799db;
$custom-dark: #000000;
JSON
{
  "hex": "#4871ca",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 221.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.14524,
    "h": 263.8
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#4871CA
secondary
#D3C19B
accent
#AF49DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4871CA

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

Preview Lab → · Contrast checker → · Palette generator →

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