#4D81CC#4D81CC

#4D81CC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.128 H 257.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4D81CC
RGBrgb(77, 129, 204)
HSLhsl(215, 55%, 55%)
HSVhsv(215, 62%, 80%)
CMYKcmyk(62.3%, 36.8%, 0%, 20%)
CIE-LABlab(53.64, 5.92, -44.03)
CIE-LCHlch(53.64, 44.43, 277.66°)
OKLaboklab(60.18% -0.0274 -0.1249)
OKLCHoklch(60.18% 0.128 257.6)
XYZxyz(21.8060, 21.6359, 60.1420)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81CC #CC984D
analogous
#4DC1CC #4D81CC #584DCC
triadic
#4D81CC #CC4D81 #81CC4D
tetradic
#4D81CC #CC4DC1 #CC984D #4DCC58
square
#4D81CC #CC4DC1 #CC984D #4DCC58
split-complementary
#4D81CC #CC584D #C1CC4D
monochromatic
#23477B #3163AB #4D81CC #7DA3DA #ACC4E7

Accessibility & contrast

On white

3.94
#4D81CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4D81CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81CC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81CC#FFFFFF#000000##000000
##4D81CC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d81cc;
/* rgb */ color: rgb(77, 129, 204);
/* oklch */ color: oklch(60.2% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#8aa5dc',
    500: '#4d81cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d81cc;
$custom-light: #8aa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81cc",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 215.433,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.12791,
    "h": 257.6
  },
  "luminance": 0.21638
}

Semantic roles & 50–950 ramp

primary
#4D81CC
secondary
#D5BFA0
accent
#A149DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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