#4870CF#4870CF

#4870CF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.153 H 264.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4870CF
RGBrgb(72, 112, 207)
HSLhsl(222, 58%, 55%)
HSVhsv(222, 65%, 81%)
CMYKcmyk(65.2%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.85, 16.52, -53.39)
CIE-LCHlch(48.85, 55.88, 287.19°)
OKLaboklab(56.47% -0.014 -0.1527)
OKLCHoklch(56.47% 0.153 264.8)
XYZxyz(19.7252, 17.4692, 61.3518)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870CF #CFA748
analogous
#48B4CF #4870CF #6348CF
triadic
#4870CF #CF4870 #70CF48
tetradic
#4870CF #CF48B4 #CFA748 #48CF63
square
#4870CF #CF48B4 #CFA748 #48CF63
split-complementary
#4870CF #CF6348 #B4CF48
monochromatic
#213C7C #2D53AD #4870CF #7896DC #A9BCE8

Accessibility & contrast

On white

4.67
#4870CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4870CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870CF#FFFFFF#000000##FFFFFF
##4870CF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4870cf;
/* rgb */ color: rgb(72, 112, 207);
/* oklch */ color: oklch(56.5% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#8898de',
    500: '#4870cf',
    950: '#000000',
  },
}
SCSS
$custom: #4870cf;
$custom-light: #8898de;
$custom-dark: #000000;
JSON
{
  "hex": "#4870cf",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 222.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.15332,
    "h": 264.8
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#4870CF
secondary
#D6C59D
accent
#B446E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4870CF

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

Preview Lab → · Contrast checker → · Palette generator →

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