#4C81DA#4C81DA

#4C81DA is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.147 H 260.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C81DA
RGBrgb(76, 129, 218)
HSLhsl(218, 66%, 58%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(65.1%, 40.8%, 0%, 14.5%)
CIE-LABlab(54.34, 10.54, -50.83)
CIE-LCHlch(54.34, 51.91, 281.72°)
OKLaboklab(60.96% -0.0251 -0.1449)
OKLCHoklch(60.96% 0.147 260.2)
XYZxyz(23.4811, 22.2967, 69.3823)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81DA #DAA54C
analogous
#4CC8DA #4C81DA #5E4CDA
triadic
#4C81DA #DA4C81 #81DA4C
tetradic
#4C81DA #DA4CC8 #DAA54C #4CDA5E
square
#4C81DA #DA4CC8 #DAA54C #4CDA5E
split-complementary
#4C81DA #DA5E4C #C8DA4C
monochromatic
#1D478E #2861C1 #4C81DA #7FA5E4 #B1C8EF

Accessibility & contrast

On white

3.85
#4C81DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4C81DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81DA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81DA#FFFFFF#000000##000000
##4C81DA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DD
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c81da;
/* rgb */ color: rgb(76, 129, 218);
/* oklch */ color: oklch(61.0% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ca5e6',
    500: '#4c81da',
    950: '#000000',
  },
}
SCSS
$custom: #4c81da;
$custom-light: #8ca5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81da",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 217.606,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.14702,
    "h": 260.2
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#4C81DA
secondary
#DDC8A4
accent
#A93FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81DA

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

Preview Lab → · Contrast checker → · Palette generator →

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