#4E7BAD#4E7BAD

#4E7BAD is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.092 H 252.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E7BAD
RGBrgb(78, 123, 173)
HSLhsl(212, 38%, 49%)
HSVhsv(212, 55%, 68%)
CMYKcmyk(54.9%, 28.9%, 0%, 32.2%)
CIE-LABlab(50.45, -0.56, -31.27)
CIE-LCHlch(50.45, 31.27, 268.97°)
OKLaboklab(57.21% -0.0284 -0.0878)
OKLCHoklch(57.21% 0.092 252.1)
XYZxyz(17.7650, 18.8013, 42.2199)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BAD #AD804E
analogous
#4EABAD #4E7BAD #514EAD
triadic
#4E7BAD #AD4E7B #7BAD4E
tetradic
#4E7BAD #AD4EAB #AD804E #4EAD51
square
#4E7BAD #AD4EAB #AD804E #4EAD51
split-complementary
#4E7BAD #AD514E #ABAD4E
monochromatic
#283F59 #3B5D83 #4E7BAD #779AC2 #A1B9D5

Accessibility & contrast

On white

4.41
#4E7BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E7BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BAD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BAD#FFFFFF#000000##000000
##4E7BAD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAF
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#11868C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e7bad;
/* rgb */ color: rgb(78, 123, 173);
/* oklch */ color: oklch(57.2% 0.092 252.1);
Tailwind
colors: {
  custom: {
    50: '#86a1c5',
    500: '#4e7bad',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bad;
$custom-light: #86a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bad",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 211.579,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.0923,
    "h": 252.1
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#4E7BAD
secondary
#C2AD95
accent
#975ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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