#4E7DB1#4E7DB1

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

Color values

HEX#4E7DB1
RGBrgb(78, 125, 177)
HSLhsl(212, 39%, 50%)
HSVhsv(212, 56%, 69%)
CMYKcmyk(55.9%, 29.4%, 0%, 30.6%)
CIE-LABlab(51.22, -0.46, -32.38)
CIE-LCHlch(51.22, 32.38, 269.19°)
OKLaboklab(57.87% -0.0295 -0.091)
OKLCHoklch(57.87% 0.096 252)
XYZxyz(18.4085, 19.4597, 44.3725)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DB1 #B1824E
analogous
#4EAFB1 #4E7DB1 #504EB1
triadic
#4E7DB1 #B14E7D #7DB14E
tetradic
#4E7DB1 #B14EAF #B1824E #4EB150
square
#4E7DB1 #B14EAF #B1824E #4EB150
split-complementary
#4E7DB1 #B1504E #AFB14E
monochromatic
#29415C #3B5F87 #4E7DB1 #789CC4 #A3BBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7DB1#FFFFFF#000000##000000
##4E7DB11.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)
#687FB3
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#04898F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7db1;
/* rgb */ color: rgb(78, 125, 177);
/* oklch */ color: oklch(57.9% 0.096 252.0);
Tailwind
colors: {
  custom: {
    50: '#87a2c8',
    500: '#4e7db1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7db1;
$custom-light: #87a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7db1",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 211.515,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.09571,
    "h": 252
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#4E7DB1
secondary
#C4AF97
accent
#9759CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4E7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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