#4E81CF#4E81CF

#4E81CF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.132 H 258.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E81CF
RGBrgb(78, 129, 207)
HSLhsl(216, 57%, 56%)
HSVhsv(216, 62%, 81%)
CMYKcmyk(62.3%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.84, 7.13, -45.41)
CIE-LCHlch(53.84, 45.97, 278.92°)
OKLaboklab(60.4% -0.0259 -0.1289)
OKLCHoklch(60.4% 0.132 258.6)
XYZxyz(22.2506, 21.8232, 62.0591)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81CF #CF9C4E
analogous
#4EC1CF #4E81CF #5B4ECF
triadic
#4E81CF #CF4E81 #81CF4E
tetradic
#4E81CF #CF4EC1 #CF9C4E #4ECF5B
square
#4E81CF #CF4EC1 #CF9C4E #4ECF5B
split-complementary
#4E81CF #CF5B4E #C1CF4E
monochromatic
#234880 #3062B0 #4E81CF #7EA3DC #AEC6E9

Accessibility & contrast

On white

3.91
#4E81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4E81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81CF#FFFFFF#000000##000000
##4E81CF1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81cf;
/* rgb */ color: rgb(78, 129, 207);
/* oklch */ color: oklch(60.4% 0.132 258.6);
Tailwind
colors: {
  custom: {
    50: '#8ba5de',
    500: '#4e81cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e81cf;
$custom-light: #8ba5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81cf",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 216.279,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.13153,
    "h": 258.6
  },
  "luminance": 0.21825
}

Semantic roles & 50–950 ramp

primary
#4E81CF
secondary
#D7C2A2
accent
#A447E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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