#4D81DC#4D81DC

#4D81DC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.149 H 260.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D81DC
RGBrgb(77, 129, 220)
HSLhsl(218, 67%, 58%)
HSVhsv(218, 65%, 86%)
CMYKcmyk(65%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.49, 11.40, -51.70)
CIE-LCHlch(54.49, 52.95, 282.44°)
OKLaboklab(61.12% -0.0239 -0.1474)
OKLCHoklch(61.12% 0.149 260.8)
XYZxyz(23.8245, 22.4433, 70.7727)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81DC #DCA84D
analogous
#4DC8DC #4D81DC #604DDC
triadic
#4D81DC #DC4D81 #81DC4D
tetradic
#4D81DC #DC4DC8 #DCA84D #4DDC60
square
#4D81DC #DC4DC8 #DCA84D #4DDC60
split-complementary
#4D81DC #DC604D #C8DC4D
monochromatic
#1D4792 #2760C5 #4D81DC #80A5E6 #B3C9F0

Accessibility & contrast

On white

3.83
#4D81DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4D81DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81DC#FFFFFF#000000##000000
##4D81DC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789E0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d81dc;
/* rgb */ color: rgb(77, 129, 220);
/* oklch */ color: oklch(61.1% 0.149 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ca5e7',
    500: '#4d81dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d81dc;
$custom-light: #8ca5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81dc",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 218.182,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61125,
    "c": 0.14934,
    "h": 260.8
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#4D81DC
secondary
#DFCAA6
accent
#AB3EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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