#4D81DE#4D81DE

#4D81DE is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.152 H 261.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D81DE
RGBrgb(77, 129, 222)
HSLhsl(218, 69%, 59%)
HSVhsv(218, 65%, 87%)
CMYKcmyk(65.3%, 41.9%, 0%, 12.9%)
CIE-LABlab(54.61, 12.09, -52.65)
CIE-LCHlch(54.61, 54.02, 282.94°)
OKLaboklab(61.25% -0.0235 -0.1502)
OKLCHoklch(61.25% 0.152 261.1)
XYZxyz(24.0910, 22.5499, 72.1760)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81DE #DEAA4D
analogous
#4DC9DE #4D81DE #614DDE
triadic
#4D81DE #DE4D81 #81DE4D
tetradic
#4D81DE #DE4DC9 #DEAA4D #4DDE61
square
#4D81DE #DE4DC9 #DEAA4D #4DDE61
split-complementary
#4D81DE #DE614D #C9DE4D
monochromatic
#1C4795 #2560C9 #4D81DE #81A6E8 #B4CAF1

Accessibility & contrast

On white

3.81
#4D81DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4D81DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81DE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81DE#FFFFFF#000000##000000
##4D81DE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE2
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d81de;
/* rgb */ color: rgb(77, 129, 222);
/* oklch */ color: oklch(61.2% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#8da5e9',
    500: '#4d81de',
    950: '#000000',
  },
}
SCSS
$custom: #4d81de;
$custom-light: #8da5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81de",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 218.483,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.15202,
    "h": 261.1
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#4D81DE
secondary
#E0CCA7
accent
#AD3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81DE

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

Preview Lab → · Contrast checker → · Palette generator →

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