#4D81CE#4D81CE

#4D81CE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.3% C 0.131 H 258.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D81CE
RGBrgb(77, 129, 206)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(62.6%, 37.4%, 0%, 19.2%)
CIE-LABlab(53.74, 6.60, -45.00)
CIE-LCHlch(53.74, 45.48, 278.35°)
OKLaboklab(60.3% -0.027 -0.1278)
OKLCHoklch(60.3% 0.131 258.1)
XYZxyz(22.0474, 21.7325, 61.4135)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81CE #CE9A4D
analogous
#4DC1CE #4D81CE #594DCE
triadic
#4D81CE #CE4D81 #81CE4D
tetradic
#4D81CE #CE4DC1 #CE9A4D #4DCE59
square
#4D81CE #CE4DC1 #CE9A4D #4DCE59
split-complementary
#4D81CE #CE594D #C1CE4D
monochromatic
#23477E #3063AE #4D81CE #7DA3DB #ADC5E8

Accessibility & contrast

On white

3.93
#4D81CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4D81CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81CE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81CE#FFFFFF#000000##000000
##4D81CE1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d81ce;
/* rgb */ color: rgb(77, 129, 206);
/* oklch */ color: oklch(60.3% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#8aa5dd',
    500: '#4d81ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d81ce;
$custom-light: #8aa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81ce",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 215.814,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.13058,
    "h": 258.1
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#4D81CE
secondary
#D6C1A1
accent
#A348E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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