#4C81DD#4C81DD

#4C81DD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.1% C 0.151 H 260.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4C81DD
RGBrgb(76, 129, 221)
HSLhsl(218, 68%, 58%)
HSVhsv(218, 66%, 87%)
CMYKcmyk(65.6%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.51, 11.58, -52.25)
CIE-LCHlch(54.51, 53.52, 282.50°)
OKLaboklab(61.14% -0.0245 -0.149)
OKLCHoklch(61.14% 0.151 260.7)
XYZxyz(23.8773, 22.4551, 71.4685)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81DD #DDA84C
analogous
#4CC9DD #4C81DD #5F4CDD
triadic
#4C81DD #DD4C81 #81DD4C
tetradic
#4C81DD #DD4CC9 #DDA84C #4CDD5F
square
#4C81DD #DD4CC9 #DDA84C #4CDD5F
split-complementary
#4C81DD #DD5F4C #C9DD4C
monochromatic
#1C4793 #2660C6 #4C81DD #7FA5E7 #B3C9F1

Accessibility & contrast

On white

3.82
#4C81DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4C81DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81DD#FFFFFF#000000##000000
##4C81DD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE1
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c81dd;
/* rgb */ color: rgb(76, 129, 221);
/* oklch */ color: oklch(61.1% 0.151 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ca5e8',
    500: '#4c81dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c81dd;
$custom-light: #8ca5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81dd",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 218.069,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.15104,
    "h": 260.7
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#4C81DD
secondary
#DFCAA6
accent
#AB3DEB
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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