#4E7AB7#4E7AB7

#4E7AB7 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.107 H 256.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E7AB7
RGBrgb(78, 122, 183)
HSLhsl(215, 42%, 51%)
HSVhsv(215, 57%, 72%)
CMYKcmyk(57.4%, 33.3%, 0%, 28.2%)
CIE-LABlab(50.64, 3.30, -36.76)
CIE-LCHlch(50.64, 36.91, 275.13°)
OKLaboklab(57.51% -0.0243 -0.1038)
OKLCHoklch(57.51% 0.107 256.8)
XYZxyz(18.6457, 18.9561, 47.4669)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AB7 #B78B4E
analogous
#4EAEB7 #4E7AB7 #564EB7
triadic
#4E7AB7 #B74E7A #7AB74E
tetradic
#4E7AB7 #B74EAE #B78B4E #4EB756
square
#4E7AB7 #B74EAE #B78B4E #4EB756
split-complementary
#4E7AB7 #B7564E #AEB74E
monochromatic
#284163 #3A5D8E #4E7AB7 #7A9BC9 #A5BBDA

Accessibility & contrast

On white

4.38
#4E7AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4E7AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AB7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AB7#FFFFFF#000000##000000
##4E7AB71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e7ab7;
/* rgb */ color: rgb(78, 122, 183);
/* oklch */ color: oklch(57.5% 0.107 256.8);
Tailwind
colors: {
  custom: {
    50: '#87a0cd',
    500: '#4e7ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ab7;
$custom-light: #87a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ab7",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 183
  },
  "hsl": {
    "h": 214.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.10659,
    "h": 256.8
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#4E7AB7
secondary
#C8B499
accent
#9E56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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