#4E7FB8#4E7FB8

#4E7FB8 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.103 H 253.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7FB8
RGBrgb(78, 127, 184)
HSLhsl(212, 43%, 51%)
HSVhsv(212, 58%, 72%)
CMYKcmyk(57.6%, 31%, 0%, 27.8%)
CIE-LABlab(52.13, 0.64, -34.99)
CIE-LCHlch(52.13, 35.00, 271.04°)
OKLaboklab(58.69% -0.0297 -0.0986)
OKLCHoklch(58.69% 0.103 253.2)
XYZxyz(19.3799, 20.2575, 48.2269)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FB8 #B8874E
analogous
#4EB4B8 #4E7FB8 #524EB8
triadic
#4E7FB8 #B84E7F #7FB84E
tetradic
#4E7FB8 #B84EB4 #B8874E #4EB852
square
#4E7FB8 #B84EB4 #B8874E #4EB852
split-complementary
#4E7FB8 #B8524E #B4B84E
monochromatic
#284464 #39618F #4E7FB8 #7A9FCA #A5BEDB

Accessibility & contrast

On white

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

On black

5.05
#4E7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FB8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FB8#FFFFFF#000000##000000
##4E7FB81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BA
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7fb8;
/* rgb */ color: rgb(78, 127, 184);
/* oklch */ color: oklch(58.7% 0.103 253.2);
Tailwind
colors: {
  custom: {
    50: '#88a3cd',
    500: '#4e7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fb8;
$custom-light: #88a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fb8",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 212.264,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.10299,
    "h": 253.2
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#4E7FB8
secondary
#C8B39A
accent
#9955D3
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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