#4D81D2#4D81D2

#4D81D2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.136 H 259.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4D81D2
RGBrgb(77, 129, 210)
HSLhsl(217, 60%, 56%)
HSVhsv(217, 63%, 82%)
CMYKcmyk(63.3%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.95, 7.97, -46.93)
CIE-LCHlch(53.95, 47.60, 279.63°)
OKLaboklab(60.53% -0.026 -0.1334)
OKLCHoklch(60.53% 0.136 259)
XYZxyz(22.5395, 21.9293, 64.0052)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81D2 #D29E4D
analogous
#4DC4D2 #4D81D2 #5C4DD2
triadic
#4D81D2 #D24D81 #81D24D
tetradic
#4D81D2 #D24DC4 #D29E4D #4DD25C
square
#4D81D2 #D24DC4 #D29E4D #4DD25C
split-complementary
#4D81D2 #D25C4D #C4D24D
monochromatic
#214883 #2E62B4 #4D81D2 #7EA4DE #AFC6EB

Accessibility & contrast

On white

3.90
#4D81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4D81D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81D2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81D2#FFFFFF#000000##000000
##4D81D21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D5
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d81d2;
/* rgb */ color: rgb(77, 129, 210);
/* oklch */ color: oklch(60.5% 0.136 259.0);
Tailwind
colors: {
  custom: {
    50: '#8ba5e0',
    500: '#4d81d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d81d2;
$custom-light: #8ba5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81d2",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 216.541,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.13594,
    "h": 259
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#4D81D2
secondary
#D9C3A2
accent
#A545E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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