#4C82CF#4C82CF

#4C82CF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.5% C 0.131 H 257.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C82CF
RGBrgb(76, 130, 207)
HSLhsl(215, 58%, 55%)
HSVhsv(215, 63%, 81%)
CMYKcmyk(63.3%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.03, 6.16, -45.11)
CIE-LCHlch(54.03, 45.53, 277.78°)
OKLaboklab(60.53% -0.0286 -0.1281)
OKLCHoklch(60.53% 0.131 257.4)
XYZxyz(22.2216, 22.0047, 62.0956)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C82CF #CF994C
analogous
#4CC3CF #4C82CF #574CCF
triadic
#4C82CF #CF4C82 #82CF4C
tetradic
#4C82CF #CF4CC3 #CF994C #4CCF57
square
#4C82CF #CF4CC3 #CF994C #4CCF57
split-complementary
#4C82CF #CF574C #C3CF4C
monochromatic
#22487F #2F64AF #4C82CF #7CA4DC #ADC5E9

Accessibility & contrast

On white

3.89
#4C82CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4C82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C82CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C82CF#FFFFFF#000000##000000
##4C82CF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#4E7CCD
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c82cf;
/* rgb */ color: rgb(76, 130, 207);
/* oklch */ color: oklch(60.5% 0.131 257.4);
Tailwind
colors: {
  custom: {
    50: '#8aa5de',
    500: '#4c82cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c82cf;
$custom-light: #8aa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c82cf",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 215.267,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.13124,
    "h": 257.4
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#4C82CF
secondary
#D7C0A0
accent
#A147E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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