#4E7DB5#4E7DB5

#4E7DB5 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.101 H 253.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E7DB5
RGBrgb(78, 125, 181)
HSLhsl(213, 41%, 51%)
HSVhsv(213, 57%, 71%)
CMYKcmyk(56.9%, 30.9%, 0%, 29%)
CIE-LABlab(51.41, 0.85, -34.40)
CIE-LCHlch(51.41, 34.41, 271.41°)
OKLaboklab(58.08% -0.0283 -0.0969)
OKLCHoklch(58.08% 0.101 253.7)
XYZxyz(18.8130, 19.6215, 46.5030)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DB5 #B5864E
analogous
#4EB1B5 #4E7DB5 #524EB5
triadic
#4E7DB5 #B54E7D #7DB54E
tetradic
#4E7DB5 #B54EB1 #B5864E #4EB552
square
#4E7DB5 #B54EB1 #B5864E #4EB552
split-complementary
#4E7DB5 #B5524E #B1B54E
monochromatic
#284260 #3A5F8B #4E7DB5 #799DC7 #A4BCD9

Accessibility & contrast

On white

4.26
#4E7DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4E7DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DB5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DB5#FFFFFF#000000##000000
##4E7DB51.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7db5;
/* rgb */ color: rgb(78, 125, 181);
/* oklch */ color: oklch(58.1% 0.101 253.7);
Tailwind
colors: {
  custom: {
    50: '#87a2cb',
    500: '#4e7db5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7db5;
$custom-light: #87a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7db5",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 212.621,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.10094,
    "h": 253.7
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#4E7DB5
secondary
#C6B199
accent
#9957D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4E7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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