#4E81AF#4E81AF

#4E81AF is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.7% C 0.090 H 247.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E81AF
RGBrgb(78, 129, 175)
HSLhsl(208, 38%, 50%)
HSVhsv(208, 55%, 69%)
CMYKcmyk(55.4%, 26.3%, 0%, 31.4%)
CIE-LABlab(52.30, -3.46, -29.54)
CIE-LCHlch(52.30, 29.74, 263.33°)
OKLaboklab(58.7% -0.0348 -0.0828)
OKLCHoklch(58.7% 0.09 247.2)
XYZxyz(18.7272, 20.4138, 43.5025)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81AF #AF7C4E
analogous
#4EAFAD #4E81AF #4E50AF
triadic
#4E81AF #AF4E81 #81AF4E
tetradic
#4E81AF #AD4EAF #AF7C4E #50AF4E
square
#4E81AF #AD4EAF #AF7C4E #50AF4E
split-complementary
#4E81AF #AF4E50 #AFAD4E
monochromatic
#28435A #3B6285 #4E81AF #789FC3 #A2BDD6

Accessibility & contrast

On white

4.13
#4E81AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E81AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81AF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81AF#FFFFFF#000000##000000
##4E81AF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E82B1
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#078C91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e81af;
/* rgb */ color: rgb(78, 129, 175);
/* oklch */ color: oklch(58.7% 0.090 247.2);
Tailwind
colors: {
  custom: {
    50: '#86a5c7',
    500: '#4e81af',
    950: '#000000',
  },
}
SCSS
$custom: #4e81af;
$custom-light: #86a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81af",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 208.454,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.08985,
    "h": 247.2
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#4E81AF
secondary
#C3AB96
accent
#915ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E81AF

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

Preview Lab → · Contrast checker → · Palette generator →

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