#4E7FB6#4E7FB6

#4E7FB6 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.6% C 0.100 H 252.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7FB6
RGBrgb(78, 127, 182)
HSLhsl(212, 42%, 51%)
HSVhsv(212, 57%, 71%)
CMYKcmyk(57.1%, 30.2%, 0%, 28.6%)
CIE-LABlab(52.03, -0.02, -33.99)
CIE-LCHlch(52.03, 33.99, 269.97°)
OKLaboklab(58.59% -0.0303 -0.0957)
OKLCHoklch(58.59% 0.1 252.4)
XYZxyz(19.1718, 20.1742, 47.1306)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FB6 #B6854E
analogous
#4EB3B6 #4E7FB6 #514EB6
triadic
#4E7FB6 #B64E7F #7FB64E
tetradic
#4E7FB6 #B64EB3 #B6854E #4EB651
square
#4E7FB6 #B64EB3 #B6854E #4EB651
split-complementary
#4E7FB6 #B6514E #B3B64E
monochromatic
#284361 #3A618D #4E7FB6 #799EC8 #A5BEDA

Accessibility & contrast

On white

4.17
#4E7FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E7FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FB6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FB6#FFFFFF#000000##000000
##4E7FB61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B8
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7fb6;
/* rgb */ color: rgb(78, 127, 182);
/* oklch */ color: oklch(58.6% 0.100 252.4);
Tailwind
colors: {
  custom: {
    50: '#87a3cc',
    500: '#4e7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fb6;
$custom-light: #87a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fb6",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 211.731,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.10038,
    "h": 252.4
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#4E7FB6
secondary
#C7B199
accent
#9756D1
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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