#4C84DB#4C84DB

#4C84DB is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.7% C 0.145 H 258.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4C84DB
RGBrgb(76, 132, 219)
HSLhsl(217, 67%, 58%)
HSVhsv(217, 65%, 86%)
CMYKcmyk(65.3%, 39.7%, 0%, 14.1%)
CIE-LABlab(55.23, 9.07, -49.98)
CIE-LCHlch(55.23, 50.79, 280.29°)
OKLaboklab(61.66% -0.0279 -0.1423)
OKLCHoklch(61.66% 0.145 258.9)
XYZxyz(24.0134, 23.1512, 70.2072)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C84DB #DBA34C
analogous
#4CCCDB #4C84DB #5B4CDB
triadic
#4C84DB #DB4C84 #84DB4C
tetradic
#4C84DB #DB4CCC #DBA34C #4CDB5B
square
#4C84DB #DB4CCC #DBA34C #4CDB5B
split-complementary
#4C84DB #DB5B4C #CCDB4C
monochromatic
#1D4A90 #2764C3 #4C84DB #7FA7E5 #B2CAEF

Accessibility & contrast

On white

3.73
#4C84DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4C84DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C84DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C84DB#FFFFFF#000000##000000
##4C84DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDE
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c84db;
/* rgb */ color: rgb(76, 132, 219);
/* oklch */ color: oklch(61.7% 0.145 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ca7e6',
    500: '#4c84db',
    950: '#000000',
  },
}
SCSS
$custom: #4c84db;
$custom-light: #8ca7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c84db",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 216.503,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.14502,
    "h": 258.9
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

primary
#4C84DB
secondary
#DEC8A5
accent
#A63EE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C84DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4C84DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva