#4E7CB7#4E7CB7

#4E7CB7 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.105 H 255.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E7CB7
RGBrgb(78, 124, 183)
HSLhsl(214, 42%, 51%)
HSVhsv(214, 57%, 72%)
CMYKcmyk(57.4%, 32.2%, 0%, 28.2%)
CIE-LABlab(51.21, 2.10, -35.85)
CIE-LCHlch(51.21, 35.92, 273.35°)
OKLaboklab(57.96% -0.0266 -0.1011)
OKLCHoklch(57.96% 0.105 255.2)
XYZxyz(18.8938, 19.4523, 47.5496)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CB7 #B7894E
analogous
#4EB1B7 #4E7CB7 #544EB7
triadic
#4E7CB7 #B74E7C #7CB74E
tetradic
#4E7CB7 #B74EB1 #B7894E #4EB754
square
#4E7CB7 #B74EB1 #B7894E #4EB754
split-complementary
#4E7CB7 #B7544E #B1B74E
monochromatic
#284263 #3A5F8E #4E7CB7 #7A9CC9 #A5BCDA

Accessibility & contrast

On white

4.29
#4E7CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E7CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CB7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CB7#FFFFFF#000000##000000
##4E7CB71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480BA
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7cb7;
/* rgb */ color: rgb(78, 124, 183);
/* oklch */ color: oklch(58.0% 0.105 255.2);
Tailwind
colors: {
  custom: {
    50: '#87a1cd',
    500: '#4e7cb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cb7;
$custom-light: #87a1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cb7",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 213.714,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.10457,
    "h": 255.2
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#4E7CB7
secondary
#C8B399
accent
#9C56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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