#4D81CF#4D81CF

#4D81CF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.132 H 258.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D81CF
RGBrgb(77, 129, 207)
HSLhsl(216, 58%, 56%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(62.8%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.79, 6.94, -45.49)
CIE-LCHlch(53.79, 46.01, 278.68°)
OKLaboklab(60.35% -0.0267 -0.1292)
OKLCHoklch(60.35% 0.132 258.3)
XYZxyz(22.1693, 21.7812, 62.0553)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81CF #CF9B4D
analogous
#4DC2CF #4D81CF #5A4DCF
triadic
#4D81CF #CF4D81 #81CF4D
tetradic
#4D81CF #CF4DC2 #CF9B4D #4DCF5A
square
#4D81CF #CF4DC2 #CF9B4D #4DCF5A
split-complementary
#4D81CF #CF5A4D #C2CF4D
monochromatic
#22487F #2F63AF #4D81CF #7DA3DC #ADC5E9

Accessibility & contrast

On white

3.92
#4D81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4D81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81CF#FFFFFF#000000##000000
##4D81CF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d81cf;
/* rgb */ color: rgb(77, 129, 207);
/* oklch */ color: oklch(60.4% 0.132 258.3);
Tailwind
colors: {
  custom: {
    50: '#8aa5de',
    500: '#4d81cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d81cf;
$custom-light: #8aa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81cf",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 216,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.13191,
    "h": 258.3
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#4D81CF
secondary
#D7C1A1
accent
#A347E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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