#4E7FB7#4E7FB7

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

Color values

HEX#4E7FB7
RGBrgb(78, 127, 183)
HSLhsl(212, 42%, 51%)
HSVhsv(212, 57%, 72%)
CMYKcmyk(57.4%, 30.6%, 0%, 28.2%)
CIE-LABlab(52.08, 0.31, -34.49)
CIE-LCHlch(52.08, 34.49, 270.52°)
OKLaboklab(58.64% -0.03 -0.0971)
OKLCHoklch(58.64% 0.102 252.8)
XYZxyz(19.2755, 20.2157, 47.6768)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FB7 #B7864E
analogous
#4EB3B7 #4E7FB7 #514EB7
triadic
#4E7FB7 #B74E7F #7FB74E
tetradic
#4E7FB7 #B74EB3 #B7864E #4EB751
square
#4E7FB7 #B74EB3 #B7864E #4EB751
split-complementary
#4E7FB7 #B7514E #B3B74E
monochromatic
#284363 #3A618E #4E7FB7 #7A9EC9 #A5BEDA

Accessibility & contrast

On white

4.16
#4E7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7FB7#FFFFFF#000000##000000
##4E7FB71.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B9
Deuteranopia (green-blind)
#5A78B6
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7fb7;
/* rgb */ color: rgb(78, 127, 183);
/* oklch */ color: oklch(58.6% 0.102 252.8);
Tailwind
colors: {
  custom: {
    50: '#87a3cd',
    500: '#4e7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fb7;
$custom-light: #87a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fb7",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 212,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.10169,
    "h": 252.8
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#4E7FB7
secondary
#C8B299
accent
#9856D2
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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