#4E81D9#4E81D9

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

Color values

HEX#4E81D9
RGBrgb(78, 129, 217)
HSLhsl(218, 65%, 58%)
HSVhsv(218, 64%, 85%)
CMYKcmyk(64.1%, 40.6%, 0%, 14.9%)
CIE-LABlab(54.37, 10.54, -50.21)
CIE-LCHlch(54.37, 51.30, 281.86°)
OKLaboklab(60.99% -0.0237 -0.143)
OKLCHoklch(60.99% 0.145 260.6)
XYZxyz(23.5121, 22.3277, 68.7028)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D9 #D9A64E
analogous
#4EC6D9 #4E81D9 #614ED9
triadic
#4E81D9 #D94E81 #81D94E
tetradic
#4E81D9 #D94EC6 #D9A64E #4ED961
square
#4E81D9 #D94EC6 #D9A64E #4ED961
split-complementary
#4E81D9 #D9614E #C6D94E
monochromatic
#1F478E #2961C0 #4E81D9 #80A5E4 #B3C9EF

Accessibility & contrast

On white

3.84
#4E81D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4E81D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D9#FFFFFF#000000##000000
##4E81D91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DC
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e81d9;
/* rgb */ color: rgb(78, 129, 217);
/* oklch */ color: oklch(61.0% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ca5e5',
    500: '#4e81d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d9;
$custom-light: #8ca5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d9",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 217.986,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.14495,
    "h": 260.6
  },
  "luminance": 0.2233
}

Semantic roles & 50–950 ramp

primary
#4E81D9
secondary
#DDC9A6
accent
#AA40E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81D9

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

Preview Lab → · Contrast checker → · Palette generator →

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