#4E7BBC#4E7BBC

#4E7BBC is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.0% C 0.112 H 257.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E7BBC
RGBrgb(78, 123, 188)
HSLhsl(215, 45%, 52%)
HSVhsv(215, 59%, 74%)
CMYKcmyk(58.5%, 34.6%, 0%, 26.3%)
CIE-LABlab(51.17, 4.36, -38.80)
CIE-LCHlch(51.17, 39.04, 276.41°)
OKLaboklab(58.01% -0.0241 -0.1097)
OKLCHoklch(58.01% 0.112 257.6)
XYZxyz(19.2988, 19.4148, 50.2976)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BBC #BC8F4E
analogous
#4EB2BC #4E7BBC #584EBC
triadic
#4E7BBC #BC4E7B #7BBC4E
tetradic
#4E7BBC #BC4EB2 #BC8F4E #4EBC58
square
#4E7BBC #BC4EB2 #BC8F4E #4EBC58
split-complementary
#4E7BBC #BC584E #B2BC4E
monochromatic
#274268 #385E95 #4E7BBC #7A9CCD #A7BDDE

Accessibility & contrast

On white

4.30
#4E7BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4E7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BBC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BBC#FFFFFF#000000##000000
##4E7BBC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7bbc;
/* rgb */ color: rgb(78, 123, 188);
/* oklch */ color: oklch(58.0% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#88a0d0',
    500: '#4e7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bbc;
$custom-light: #88a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bbc",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 215.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.11232,
    "h": 257.6
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#4E7BBC
secondary
#CBB79B
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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