#4D81DB#4D81DB

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

Color values

HEX#4D81DB
RGBrgb(77, 129, 219)
HSLhsl(218, 66%, 58%)
HSVhsv(218, 65%, 86%)
CMYKcmyk(64.8%, 41.1%, 0%, 14.1%)
CIE-LABlab(54.44, 11.06, -51.23)
CIE-LCHlch(54.44, 52.41, 282.18°)
OKLaboklab(61.06% -0.0241 -0.146)
OKLCHoklch(61.06% 0.148 260.6)
XYZxyz(23.6925, 22.3905, 70.0773)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81DB #DBA74D
analogous
#4DC8DB #4D81DB #604DDB
triadic
#4D81DB #DB4D81 #81DB4D
tetradic
#4D81DB #DB4DC8 #DBA74D #4DDB60
square
#4D81DB #DB4DC8 #DBA74D #4DDB60
split-complementary
#4D81DB #DB604D #C8DB4D
monochromatic
#1D4790 #2761C3 #4D81DB #80A5E5 #B3C9F0

Accessibility & contrast

On white

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

On black

5.48
#4D81DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81DB#FFFFFF#000000##000000
##4D81DB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d81db;
/* rgb */ color: rgb(77, 129, 219);
/* oklch */ color: oklch(61.1% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ca5e6',
    500: '#4d81db',
    950: '#000000',
  },
}
SCSS
$custom: #4d81db;
$custom-light: #8ca5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81db",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 218.028,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.148,
    "h": 260.6
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#4D81DB
secondary
#DEC9A6
accent
#AB3FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81DB

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

Preview Lab → · Contrast checker → · Palette generator →

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