#4D81D9#4D81D9

#4D81D9 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.145 H 260.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D81D9
RGBrgb(77, 129, 217)
HSLhsl(218, 65%, 58%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(64.5%, 40.6%, 0%, 14.9%)
CIE-LABlab(54.33, 10.37, -50.28)
CIE-LCHlch(54.33, 51.34, 281.65°)
OKLaboklab(60.94% -0.0245 -0.1432)
OKLCHoklch(60.94% 0.145 260.3)
XYZxyz(23.4308, 22.2858, 68.6990)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81D9 #D9A54D
analogous
#4DC7D9 #4D81D9 #5F4DD9
triadic
#4D81D9 #D94D81 #81D94D
tetradic
#4D81D9 #D94DC7 #D9A54D #4DD95F
square
#4D81D9 #D94DC7 #D9A54D #4DD95F
split-complementary
#4D81D9 #D95F4D #C7D94D
monochromatic
#1E488D #2961C0 #4D81D9 #7FA5E4 #B2C8EF

Accessibility & contrast

On white

3.85
#4D81D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4D81D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81D9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81D9#FFFFFF#000000##000000
##4D81D91.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DC
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d81d9;
/* rgb */ color: rgb(77, 129, 217);
/* oklch */ color: oklch(60.9% 0.145 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ca5e5',
    500: '#4d81d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d81d9;
$custom-light: #8ca5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81d9",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 217.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.14531,
    "h": 260.3
  },
  "luminance": 0.22288
}

Semantic roles & 50–950 ramp

primary
#4D81D9
secondary
#DDC8A5
accent
#A940E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81D9

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

Preview Lab → · Contrast checker → · Palette generator →

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