#4E7ECF#4E7ECF

#4E7ECF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.135 H 260.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E7ECF
RGBrgb(78, 126, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(62.3%, 39.1%, 0%, 18.8%)
CIE-LABlab(53.00, 8.94, -46.75)
CIE-LCHlch(53.00, 47.59, 280.83°)
OKLaboklab(59.75% -0.0228 -0.1329)
OKLCHoklch(59.75% 0.135 260.3)
XYZxyz(21.8613, 21.0444, 61.9293)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECF #CF9F4E
analogous
#4EBFCF #4E7ECF #5E4ECF
triadic
#4E7ECF #CF4E7E #7ECF4E
tetradic
#4E7ECF #CF4EBF #CF9F4E #4ECF5E
square
#4E7ECF #CF4EBF #CF9F4E #4ECF5E
split-complementary
#4E7ECF #CF5E4E #BFCF4E
monochromatic
#234580 #305FB0 #4E7ECF #7EA1DC #AEC4E9

Accessibility & contrast

On white

4.03
#4E7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ECF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ECF#FFFFFF#000000##000000
##4E7ECF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ecf;
/* rgb */ color: rgb(78, 126, 207);
/* oklch */ color: oklch(59.7% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ba2de',
    500: '#4e7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ecf;
$custom-light: #8ba2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ecf",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 217.674,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59749,
    "c": 0.13483,
    "h": 260.3
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#4E7ECF
secondary
#D7C3A2
accent
#A847E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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