#4E7BAF#4E7BAF

#4E7BAF is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.095 H 253.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E7BAF
RGBrgb(78, 123, 175)
HSLhsl(212, 38%, 50%)
HSVhsv(212, 55%, 69%)
CMYKcmyk(55.4%, 29.7%, 0%, 31.4%)
CIE-LABlab(50.55, 0.08, -32.28)
CIE-LCHlch(50.55, 32.28, 270.15°)
OKLaboklab(57.31% -0.0278 -0.0908)
OKLCHoklch(57.31% 0.095 253)
XYZxyz(17.9600, 18.8793, 43.2468)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BAF #AF824E
analogous
#4EACAF #4E7BAF #524EAF
triadic
#4E7BAF #AF4E7B #7BAF4E
tetradic
#4E7BAF #AF4EAC #AF824E #4EAF52
square
#4E7BAF #AF4EAC #AF824E #4EAF52
split-complementary
#4E7BAF #AF524E #ACAF4E
monochromatic
#283F5A #3B5D85 #4E7BAF #789AC3 #A2BAD6

Accessibility & contrast

On white

4.40
#4E7BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4E7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BAF#FFFFFF#000000##000000
##4E7BAF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB1
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#0C878D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e7baf;
/* rgb */ color: rgb(78, 123, 175);
/* oklch */ color: oklch(57.3% 0.095 253.0);
Tailwind
colors: {
  custom: {
    50: '#86a1c7',
    500: '#4e7baf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7baf;
$custom-light: #86a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7baf",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 212.165,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.09493,
    "h": 253
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#4E7BAF
secondary
#C3AE96
accent
#985ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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