#4E81CA#4E81CA

#4E81CA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.1% C 0.125 H 257.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E81CA
RGBrgb(78, 129, 202)
HSLhsl(215, 54%, 55%)
HSVhsv(215, 61%, 79%)
CMYKcmyk(61.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(53.58, 5.43, -42.98)
CIE-LCHlch(53.58, 43.33, 277.21°)
OKLaboklab(60.12% -0.0271 -0.1218)
OKLCHoklch(60.12% 0.125 257.5)
XYZxyz(21.6490, 21.5825, 58.8906)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81CA #CA974E
analogous
#4EBFCA #4E81CA #594ECA
triadic
#4E81CA #CA4E81 #81CA4E
tetradic
#4E81CA #CA4EBF #CA974E #4ECA59
square
#4E81CA #CA4EBF #CA974E #4ECA59
split-complementary
#4E81CA #CA594E #BFCA4E
monochromatic
#244779 #3263A8 #4E81CA #7DA3D8 #ACC4E6

Accessibility & contrast

On white

3.95
#4E81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4E81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81CA#FFFFFF#000000##000000
##4E81CA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e81ca;
/* rgb */ color: rgb(78, 129, 202);
/* oklch */ color: oklch(60.1% 0.125 257.5);
Tailwind
colors: {
  custom: {
    50: '#8aa5da',
    500: '#4e81ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e81ca;
$custom-light: #8aa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81ca",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 215.323,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.12483,
    "h": 257.5
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#4E81CA
secondary
#D4BFA0
accent
#A14BDD
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4E81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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