#4E7BBA#4E7BBA

#4E7BBA is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.9% C 0.110 H 257.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E7BBA
RGBrgb(78, 123, 186)
HSLhsl(215, 44%, 52%)
HSVhsv(215, 58%, 73%)
CMYKcmyk(58.1%, 33.9%, 0%, 27.1%)
CIE-LABlab(51.07, 3.69, -37.80)
CIE-LCHlch(51.07, 37.98, 275.58°)
OKLaboklab(57.9% -0.0247 -0.1068)
OKLCHoklch(57.9% 0.11 257)
XYZxyz(19.0847, 19.3292, 49.1700)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BBA #BA8D4E
analogous
#4EB1BA #4E7BBA #574EBA
triadic
#4E7BBA #BA4E7B #7BBA4E
tetradic
#4E7BBA #BA4EB1 #BA8D4E #4EBA57
square
#4E7BBA #BA4EB1 #BA8D4E #4EBA57
split-complementary
#4E7BBA #BA574E #B1BA4E
monochromatic
#284266 #395E92 #4E7BBA #7A9CCB #A6BDDC

Accessibility & contrast

On white

4.32
#4E7BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E7BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BBA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BBA#FFFFFF#000000##000000
##4E7BBA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBD
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7bba;
/* rgb */ color: rgb(78, 123, 186);
/* oklch */ color: oklch(57.9% 0.110 257.0);
Tailwind
colors: {
  custom: {
    50: '#88a0cf',
    500: '#4e7bba',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bba;
$custom-light: #88a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bba",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 215,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.10961,
    "h": 257
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#4E7BBA
secondary
#CAB69A
accent
#9F54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E7BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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