#4E7BC8#4E7BC8

#4E7BC8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.129 H 260.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC8
RGBrgb(78, 123, 200)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 61%, 78%)
CMYKcmyk(61%, 38.5%, 0%, 21.6%)
CIE-LABlab(51.78, 8.39, -44.69)
CIE-LCHlch(51.78, 45.47, 280.63°)
OKLaboklab(58.69% -0.0212 -0.1269)
OKLCHoklch(58.69% 0.129 260.5)
XYZxyz(20.6465, 19.9539, 57.3958)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC8 #C89B4E
analogous
#4EB8C8 #4E7BC8 #5E4EC8
triadic
#4E7BC8 #C84E7B #7BC84E
tetradic
#4E7BC8 #C84EB8 #C89B4E #4EC85E
square
#4E7BC8 #C84EB8 #C89B4E #4EC85E
split-complementary
#4E7BC8 #C85E4E #B8C84E
monochromatic
#254377 #335DA5 #4E7BC8 #7D9ED7 #ABC1E5

Accessibility & contrast

On white

4.21
#4E7BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E7BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC8#FFFFFF#000000##000000
##4E7BC81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc8;
/* rgb */ color: rgb(78, 123, 200);
/* oklch */ color: oklch(58.7% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0d9',
    500: '#4e7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc8;
$custom-light: #8aa0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc8",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 217.869,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.12867,
    "h": 260.5
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#4E7BC8
secondary
#D3C09F
accent
#A74CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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