#4E81D3#4E81D3

#4E81D3 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.137 H 259.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E81D3
RGBrgb(78, 129, 211)
HSLhsl(217, 60%, 57%)
HSVhsv(217, 63%, 83%)
CMYKcmyk(63%, 38.9%, 0%, 17.3%)
CIE-LABlab(54.05, 8.49, -47.34)
CIE-LCHlch(54.05, 48.09, 280.17°)
OKLaboklab(60.63% -0.025 -0.1346)
OKLCHoklch(60.63% 0.137 259.5)
XYZxyz(22.7458, 22.0212, 64.6672)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D3 #D3A04E
analogous
#4EC4D3 #4E81D3 #5E4ED3
triadic
#4E81D3 #D34E81 #81D34E
tetradic
#4E81D3 #D34EC4 #D3A04E #4ED35E
square
#4E81D3 #D34EC4 #D3A04E #4ED35E
split-complementary
#4E81D3 #D35E4E #C4D34E
monochromatic
#214885 #2D62B6 #4E81D3 #7FA4DF #B0C7EB

Accessibility & contrast

On white

3.89
#4E81D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4E81D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D3#FFFFFF#000000##000000
##4E81D31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D6
Deuteranopia (green-blind)
#4A7CD1
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81d3;
/* rgb */ color: rgb(78, 129, 211);
/* oklch */ color: oklch(60.6% 0.137 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba5e1',
    500: '#4e81d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d3;
$custom-light: #8ba5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d3",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 211
  },
  "hsl": {
    "h": 216.992,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.13689,
    "h": 259.5
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#4E81D3
secondary
#DAC5A3
accent
#A644E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D3

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

Preview Lab → · Contrast checker → · Palette generator →

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