#4E81A2#4E81A2

#4E81A2 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.1% C 0.075 H 238.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E81A2
RGBrgb(78, 129, 162)
HSLhsl(204, 35%, 47%)
HSVhsv(204, 52%, 64%)
CMYKcmyk(51.9%, 20.4%, 0%, 36.5%)
CIE-LABlab(51.76, -7.54, -22.87)
CIE-LCHlch(51.76, 24.08, 251.76°)
OKLaboklab(58.08% -0.0393 -0.0637)
OKLCHoklch(58.08% 0.075 238.3)
XYZxyz(17.5114, 19.9275, 37.0990)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81A2 #A26F4E
analogous
#4EA299 #4E81A2 #4E57A2
triadic
#4E81A2 #A24E81 #81A24E
tetradic
#4E81A2 #994EA2 #A26F4E #57A24E
square
#4E81A2 #994EA2 #A26F4E #57A24E
split-complementary
#4E81A2 #A24E57 #A2994E
monochromatic
#263F4F #3A6079 #4E81A2 #729EBB #9BBBCF

Accessibility & contrast

On white

4.21
#4E81A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E81A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81A2#FFFFFF#000000##000000
##4E81A21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#6777A1
Tritanopia (blue-blind)
#20898C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e81a2;
/* rgb */ color: rgb(78, 129, 162);
/* oklch */ color: oklch(58.1% 0.075 238.3);
Tailwind
colors: {
  custom: {
    50: '#85a5bd',
    500: '#4e81a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e81a2;
$custom-light: #85a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81a2",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 203.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.07485,
    "h": 238.3
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#4E81A2
secondary
#BCA190
accent
#885DCB
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4E81A2

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

Preview Lab → · Contrast checker → · Palette generator →

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