#4E7AB8#4E7AB8

#4E7AB8 is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.108 H 257.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E7AB8
RGBrgb(78, 122, 184)
HSLhsl(215, 43%, 51%)
HSVhsv(215, 58%, 72%)
CMYKcmyk(57.6%, 33.7%, 0%, 27.8%)
CIE-LABlab(50.68, 3.63, -37.26)
CIE-LCHlch(50.68, 37.44, 275.57°)
OKLaboklab(57.56% -0.0241 -0.1052)
OKLCHoklch(57.56% 0.108 257.1)
XYZxyz(18.7501, 18.9979, 48.0170)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AB8 #B88C4E
analogous
#4EAFB8 #4E7AB8 #574EB8
triadic
#4E7AB8 #B84E7A #7AB84E
tetradic
#4E7AB8 #B84EAF #B88C4E #4EB857
square
#4E7AB8 #B84EAF #B88C4E #4EB857
split-complementary
#4E7AB8 #B8574E #AFB84E
monochromatic
#284164 #395D8F #4E7AB8 #7A9BCA #A5BCDB

Accessibility & contrast

On white

4.38
#4E7AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4E7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AB8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AB8#FFFFFF#000000##000000
##4E7AB81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBB
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e7ab8;
/* rgb */ color: rgb(78, 122, 184);
/* oklch */ color: oklch(57.6% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#88a0cd',
    500: '#4e7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ab8;
$custom-light: #88a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ab8",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 215.094,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.10794,
    "h": 257.1
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#4E7AB8
secondary
#C8B59A
accent
#9F55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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