#4E7DC3#4E7DC3

#4E7DC3 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.120 H 258.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC3
RGBrgb(78, 125, 195)
HSLhsl(216, 49%, 54%)
HSVhsv(216, 60%, 76%)
CMYKcmyk(60%, 35.9%, 0%, 23.5%)
CIE-LABlab(52.09, 5.49, -41.35)
CIE-LCHlch(52.09, 41.71, 277.56°)
OKLaboklab(58.84% -0.0245 -0.1171)
OKLCHoklch(58.84% 0.12 258.2)
XYZxyz(20.3224, 20.2253, 54.4521)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC3 #C3944E
analogous
#4EB8C3 #4E7DC3 #594EC3
triadic
#4E7DC3 #C34E7D #7DC34E
tetradic
#4E7DC3 #C34EB8 #C3944E #4EC359
square
#4E7DC3 #C34EB8 #C3944E #4EC359
split-complementary
#4E7DC3 #C3594E #B8C34E
monochromatic
#264470 #36609E #4E7DC3 #7C9FD2 #A9C0E2

Accessibility & contrast

On white

4.16
#4E7DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E7DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC3#FFFFFF#000000##000000
##4E7DC31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C6
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7dc3;
/* rgb */ color: rgb(78, 125, 195);
/* oklch */ color: oklch(58.8% 0.120 258.2);
Tailwind
colors: {
  custom: {
    50: '#89a2d5',
    500: '#4e7dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc3;
$custom-light: #89a2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc3",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 195
  },
  "hsl": {
    "h": 215.897,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.11968,
    "h": 258.2
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#4E7DC3
secondary
#CFBB9D
accent
#A14FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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