#4870DB#4870DB

#4870DB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.170 H 265.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4870DB
RGBrgb(72, 112, 219)
HSLhsl(224, 67%, 57%)
HSVhsv(224, 67%, 86%)
CMYKcmyk(67.1%, 48.9%, 0%, 14.1%)
CIE-LABlab(49.59, 20.74, -59.01)
CIE-LCHlch(49.59, 62.55, 289.36°)
OKLaboklab(57.28% -0.0123 -0.1692)
OKLCHoklch(57.28% 0.17 265.8)
XYZxyz(21.2484, 18.0785, 69.3738)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870DB #DBB348
analogous
#48BADB #4870DB #6948DB
triadic
#4870DB #DB4870 #70DB48
tetradic
#4870DB #DB48BA #DBB348 #48DB69
square
#4870DB #DB48BA #DBB348 #48DB69
split-complementary
#4870DB #DB6948 #BADB48
monochromatic
#1C3B8D #2650C0 #4870DB #7B98E5 #AEC0EF

Accessibility & contrast

On white

4.55
#4870DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4870DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870DB#FFFFFF#000000##000000
##4870DB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#0670D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4870db;
/* rgb */ color: rgb(72, 112, 219);
/* oklch */ color: oklch(57.3% 0.170 265.8);
Tailwind
colors: {
  custom: {
    50: '#8b98e7',
    500: '#4870db',
    950: '#000000',
  },
}
SCSS
$custom: #4870db;
$custom-light: #8b98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4870db",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 223.673,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.16967,
    "h": 265.8
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#4870DB
secondary
#DDCDA2
accent
#BB3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4870DB

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

Preview Lab → · Contrast checker → · Palette generator →

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