#4E7BC3#4E7BC3

#4E7BC3 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.122 H 259.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC3
RGBrgb(78, 123, 195)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(60%, 36.9%, 0%, 23.5%)
CIE-LABlab(51.52, 6.70, -42.25)
CIE-LCHlch(51.52, 42.78, 279.01°)
OKLaboklab(58.4% -0.0224 -0.1198)
OKLCHoklch(58.4% 0.122 259.4)
XYZxyz(20.0717, 19.7240, 54.3685)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC3 #C3964E
analogous
#4EB5C3 #4E7BC3 #5B4EC3
triadic
#4E7BC3 #C34E7B #7BC34E
tetradic
#4E7BC3 #C34EB5 #C3964E #4EC35B
square
#4E7BC3 #C34EB5 #C3964E #4EC35B
split-complementary
#4E7BC3 #C35B4E #B5C34E
monochromatic
#264370 #365E9E #4E7BC3 #7C9DD2 #A9BFE2

Accessibility & contrast

On white

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

On black

4.95
#4E7BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC3#FFFFFF#000000##000000
##4E7BC31.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C6
Deuteranopia (green-blind)
#4D76C1
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc3;
/* rgb */ color: rgb(78, 123, 195);
/* oklch */ color: oklch(58.4% 0.122 259.4);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4e7bc3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc3;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc3",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 216.923,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.12184,
    "h": 259.4
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#4E7BC3
secondary
#CFBC9D
accent
#A44FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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