#4E7BC2#4E7BC2

#4E7BC2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.3% C 0.120 H 259.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC2
RGBrgb(78, 123, 194)
HSLhsl(217, 49%, 53%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(59.8%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.47, 6.36, -41.76)
CIE-LCHlch(51.47, 42.24, 278.66°)
OKLaboklab(58.34% -0.0226 -0.1183)
OKLCHoklch(58.34% 0.12 259.2)
XYZxyz(19.9590, 19.6789, 53.7751)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC2 #C2954E
analogous
#4EB5C2 #4E7BC2 #5B4EC2
triadic
#4E7BC2 #C24E7B #7BC24E
tetradic
#4E7BC2 #C24EB5 #C2954E #4EC25B
square
#4E7BC2 #C24EB5 #C2954E #4EC25B
split-complementary
#4E7BC2 #C25B4E #B5C24E
monochromatic
#26436F #365E9D #4E7BC2 #7C9DD2 #A9BFE1

Accessibility & contrast

On white

4.25
#4E7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4E7BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC2#FFFFFF#000000##000000
##4E7BC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc2;
/* rgb */ color: rgb(78, 123, 194);
/* oklch */ color: oklch(58.3% 0.120 259.2);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4e7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc2;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc2",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 216.724,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.12048,
    "h": 259.2
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#4E7BC2
secondary
#CFBB9D
accent
#A350D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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