#4E7DB4#4E7DB4

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

Color values

HEX#4E7DB4
RGBrgb(78, 125, 180)
HSLhsl(212, 40%, 51%)
HSVhsv(212, 57%, 71%)
CMYKcmyk(56.7%, 30.6%, 0%, 29.4%)
CIE-LABlab(51.36, 0.52, -33.89)
CIE-LCHlch(51.36, 33.90, 270.88°)
OKLaboklab(58.03% -0.0286 -0.0954)
OKLCHoklch(58.03% 0.1 253.3)
XYZxyz(18.7108, 19.5807, 45.9646)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DB4 #B4854E
analogous
#4EB0B4 #4E7DB4 #524EB4
triadic
#4E7DB4 #B44E7D #7DB44E
tetradic
#4E7DB4 #B44EB0 #B4854E #4EB452
square
#4E7DB4 #B44EB0 #B4854E #4EB452
split-complementary
#4E7DB4 #B4524E #B0B44E
monochromatic
#28425F #3B5F8A #4E7DB4 #799DC6 #A4BCD8

Accessibility & contrast

On white

4.27
#4E7DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7DB4#FFFFFF#000000##000000
##4E7DB41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7db4;
/* rgb */ color: rgb(78, 125, 180);
/* oklch */ color: oklch(58.0% 0.100 253.3);
Tailwind
colors: {
  custom: {
    50: '#87a2ca',
    500: '#4e7db4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7db4;
$custom-light: #87a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7db4",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 212.353,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.09963,
    "h": 253.3
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#4E7DB4
secondary
#C6B198
accent
#9957D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4E7DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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