#4F82CC#4F82CC

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

Color values

HEX#4F82CC
RGBrgb(79, 130, 204)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 61%, 80%)
CMYKcmyk(61.3%, 36.3%, 0%, 20%)
CIE-LABlab(54.01, 5.70, -43.44)
CIE-LCHlch(54.01, 43.81, 277.47°)
OKLaboklab(60.5% -0.0268 -0.1231)
OKLCHoklch(60.5% 0.126 257.7)
XYZxyz(22.1023, 21.9852, 60.1938)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82CC #CC994F
analogous
#4FC0CC #4F82CC #5A4FCC
triadic
#4F82CC #CC4F82 #82CC4F
tetradic
#4F82CC #CC4FC0 #CC994F #4FCC5A
square
#4F82CC #CC4FC0 #CC994F #4FCC5A
split-complementary
#4F82CC #CC5A4F #C0CC4F
monochromatic
#24487D #3264AC #4F82CC #7EA4DA #AEC5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F82CC#FFFFFF#000000##000000
##4F82CC1.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)
#6288CF
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f82cc;
/* rgb */ color: rgb(79, 130, 204);
/* oklch */ color: oklch(60.5% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#8ba5dc',
    500: '#4f82cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f82cc;
$custom-light: #8ba5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82cc",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 215.52,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.12604,
    "h": 257.7
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#4F82CC
secondary
#D5C0A1
accent
#A249DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82CC

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

Preview Lab → · Contrast checker → · Palette generator →

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