#4E7EB5#4E7EB5

#4E7EB5 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.100 H 252.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7EB5
RGBrgb(78, 126, 181)
HSLhsl(212, 41%, 51%)
HSVhsv(212, 57%, 71%)
CMYKcmyk(56.9%, 30.4%, 0%, 29%)
CIE-LABlab(51.70, 0.25, -33.94)
CIE-LCHlch(51.70, 33.94, 270.42°)
OKLaboklab(58.31% -0.0295 -0.0956)
OKLCHoklch(58.31% 0.1 252.8)
XYZxyz(18.9403, 19.8760, 46.5454)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EB5 #B5854E
analogous
#4EB1B5 #4E7EB5 #514EB5
triadic
#4E7EB5 #B54E7E #7EB54E
tetradic
#4E7EB5 #B54EB1 #B5854E #4EB551
square
#4E7EB5 #B54EB1 #B5854E #4EB551
split-complementary
#4E7EB5 #B5514E #B1B54E
monochromatic
#284260 #3A608B #4E7EB5 #799DC7 #A4BDD9

Accessibility & contrast

On white

4.22
#4E7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EB5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EB5#FFFFFF#000000##000000
##4E7EB51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B7
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7eb5;
/* rgb */ color: rgb(78, 126, 181);
/* oklch */ color: oklch(58.3% 0.100 252.8);
Tailwind
colors: {
  custom: {
    50: '#87a3cb',
    500: '#4e7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eb5;
$custom-light: #87a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eb5",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 212.039,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.10001,
    "h": 252.8
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#4E7EB5
secondary
#C6B199
accent
#9857D1
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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