#4E81CB#4E81CB

#4E81CB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.126 H 257.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E81CB
RGBrgb(78, 129, 203)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(61.6%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.63, 5.77, -43.47)
CIE-LCHlch(53.63, 43.85, 277.56°)
OKLaboklab(60.17% -0.0269 -0.1233)
OKLCHoklch(60.17% 0.126 257.7)
XYZxyz(21.7678, 21.6300, 59.5162)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81CB #CB984E
analogous
#4EBFCB #4E81CB #594ECB
triadic
#4E81CB #CB4E81 #81CB4E
tetradic
#4E81CB #CB4EBF #CB984E #4ECB59
square
#4E81CB #CB4EBF #CB984E #4ECB59
split-complementary
#4E81CB #CB594E #BFCB4E
monochromatic
#24477B #3263AA #4E81CB #7DA3D9 #ADC4E7

Accessibility & contrast

On white

3.94
#4E81CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E81CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81CB#FFFFFF#000000##000000
##4E81CB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#507BC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e81cb;
/* rgb */ color: rgb(78, 129, 203);
/* oklch */ color: oklch(60.2% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa5db',
    500: '#4e81cb',
    950: '#000000',
  },
}
SCSS
$custom: #4e81cb;
$custom-light: #8aa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81cb",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 215.52,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.12617,
    "h": 257.7
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#4E81CB
secondary
#D5BFA0
accent
#A24ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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