#4E7ED3#4E7ED3

#4E7ED3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.0% C 0.140 H 261.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED3
RGBrgb(78, 126, 211)
HSLhsl(218, 60%, 57%)
HSVhsv(218, 63%, 83%)
CMYKcmyk(63%, 40.3%, 0%, 17.3%)
CIE-LABlab(53.21, 10.31, -48.67)
CIE-LCHlch(53.21, 49.75, 281.96°)
OKLaboklab(59.99% -0.0219 -0.1385)
OKLCHoklch(59.99% 0.14 261)
XYZxyz(22.3565, 21.2425, 64.5374)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED3 #D3A34E
analogous
#4EC1D3 #4E7ED3 #614ED3
triadic
#4E7ED3 #D34E7E #7ED34E
tetradic
#4E7ED3 #D34EC1 #D3A34E #4ED361
square
#4E7ED3 #D34EC1 #D3A34E #4ED361
split-complementary
#4E7ED3 #D3614E #C1D34E
monochromatic
#214585 #2D5FB6 #4E7ED3 #7FA2DF #B0C5EB

Accessibility & contrast

On white

4.00
#4E7ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4E7ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED3#FFFFFF#000000##000000
##4E7ED31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D6
Deuteranopia (green-blind)
#4579D1
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed3;
/* rgb */ color: rgb(78, 126, 211);
/* oklch */ color: oklch(60.0% 0.140 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca2e1',
    500: '#4e7ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed3;
$custom-light: #8ca2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed3",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 218.346,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.14025,
    "h": 261
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#4E7ED3
secondary
#DAC6A3
accent
#AA44E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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