#4E7FAB#4E7FAB

#4E7FAB is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.0% C 0.086 H 247.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E7FAB
RGBrgb(78, 127, 171)
HSLhsl(208, 37%, 49%)
HSVhsv(208, 54%, 67%)
CMYKcmyk(54.4%, 25.7%, 0%, 32.9%)
CIE-LABlab(51.54, -3.56, -28.42)
CIE-LCHlch(51.54, 28.64, 262.85°)
OKLaboklab(58.04% -0.0338 -0.0796)
OKLCHoklch(58.04% 0.086 247)
XYZxyz(18.0793, 19.7372, 41.3771)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FAB #AB7A4E
analogous
#4EABA9 #4E7FAB #4E51AB
triadic
#4E7FAB #AB4E7F #7FAB4E
tetradic
#4E7FAB #A94EAB #AB7A4E #51AB4E
square
#4E7FAB #A94EAB #AB7A4E #51AB4E
split-complementary
#4E7FAB #AB4E51 #ABA94E
monochromatic
#284157 #3B6081 #4E7FAB #769DC0 #A0BBD4

Accessibility & contrast

On white

4.24
#4E7FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4E7FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FAB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FAB#FFFFFF#000000##000000
##4E7FAB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#6077AA
Tritanopia (blue-blind)
#13898E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7fab;
/* rgb */ color: rgb(78, 127, 171);
/* oklch */ color: oklch(58.0% 0.086 247.0);
Tailwind
colors: {
  custom: {
    50: '#86a4c4',
    500: '#4e7fab',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fab;
$custom-light: #86a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fab",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 208.387,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.08647,
    "h": 247
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#4E7FAB
secondary
#C1A994
accent
#915ACD
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4E7FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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