#4C84DF#4C84DF

#4C84DF is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.9% C 0.150 H 259.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4C84DF
RGBrgb(76, 132, 223)
HSLhsl(217, 70%, 59%)
HSVhsv(217, 66%, 87%)
CMYKcmyk(65.9%, 40.8%, 0%, 12.5%)
CIE-LABlab(55.45, 10.45, -51.87)
CIE-LCHlch(55.45, 52.92, 281.39°)
OKLaboklab(61.9% -0.027 -0.1479)
OKLCHoklch(61.9% 0.15 259.6)
XYZxyz(24.5463, 23.3643, 73.0139)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C84DF #DFA74C
analogous
#4CCDDF #4C84DF #5D4CDF
triadic
#4C84DF #DF4C84 #84DF4C
tetradic
#4C84DF #DF4CCD #DFA74C #4CDF5D
square
#4C84DF #DF4CCD #DFA74C #4CDF5D
split-complementary
#4C84DF #DF5D4C #CDDF4C
monochromatic
#1B4A96 #2463CA #4C84DF #80A8E8 #B4CBF2

Accessibility & contrast

On white

3.70
#4C84DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4C84DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C84DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C84DF#FFFFFF#000000##000000
##4C84DF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c84df;
/* rgb */ color: rgb(76, 132, 223);
/* oklch */ color: oklch(61.9% 0.150 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ca7e9',
    500: '#4c84df',
    950: '#000000',
  },
}
SCSS
$custom: #4c84df;
$custom-light: #8ca7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c84df",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 217.143,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.15033,
    "h": 259.6
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#4C84DF
secondary
#E0CAA6
accent
#A93BEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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