#4E7DCF#4E7DCF

#4E7DCF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.136 H 260.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7DCF
RGBrgb(78, 125, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(62.3%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.72, 9.55, -47.19)
CIE-LCHlch(52.72, 48.15, 281.44°)
OKLaboklab(59.53% -0.0218 -0.1342)
OKLCHoklch(59.53% 0.136 260.8)
XYZxyz(21.7340, 20.7899, 61.8869)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DCF #CFA04E
analogous
#4EBDCF #4E7DCF #5F4ECF
triadic
#4E7DCF #CF4E7D #7DCF4E
tetradic
#4E7DCF #CF4EBD #CFA04E #4ECF5F
square
#4E7DCF #CF4EBD #CFA04E #4ECF5F
split-complementary
#4E7DCF #CF5F4E #BDCF4E
monochromatic
#234580 #305EB0 #4E7DCF #7EA0DC #AEC4E9

Accessibility & contrast

On white

4.07
#4E7DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DCF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DCF#FFFFFF#000000##000000
##4E7DCF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7dcf;
/* rgb */ color: rgb(78, 125, 207);
/* oklch */ color: oklch(59.5% 0.136 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba2de',
    500: '#4e7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dcf;
$custom-light: #8ba2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dcf",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 218.14,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.13595,
    "h": 260.8
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#4E7DCF
secondary
#D7C4A2
accent
#A947E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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