#4E7ABA#4E7ABA

#4E7ABA is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.111 H 257.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E7ABA
RGBrgb(78, 122, 186)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 58%, 73%)
CMYKcmyk(58.1%, 34.4%, 0%, 27.1%)
CIE-LABlab(50.78, 4.30, -38.26)
CIE-LCHlch(50.78, 38.50, 276.41°)
OKLaboklab(57.67% -0.0236 -0.1081)
OKLCHoklch(57.67% 0.111 257.7)
XYZxyz(18.9612, 19.0823, 49.1289)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ABA #BA8E4E
analogous
#4EB0BA #4E7ABA #584EBA
triadic
#4E7ABA #BA4E7A #7ABA4E
tetradic
#4E7ABA #BA4EB0 #BA8E4E #4EBA58
square
#4E7ABA #BA4EB0 #BA8E4E #4EBA58
split-complementary
#4E7ABA #BA584E #B0BA4E
monochromatic
#284166 #395D92 #4E7ABA #7A9BCB #A6BCDC

Accessibility & contrast

On white

4.36
#4E7ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E7ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ABA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ABA#FFFFFF#000000##000000
##4E7ABA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e7aba;
/* rgb */ color: rgb(78, 122, 186);
/* oklch */ color: oklch(57.7% 0.111 257.7);
Tailwind
colors: {
  custom: {
    50: '#88a0cf',
    500: '#4e7aba',
    950: '#000000',
  },
}
SCSS
$custom: #4e7aba;
$custom-light: #88a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7aba",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 215.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.11066,
    "h": 257.7
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#4E7ABA
secondary
#CAB69A
accent
#A054D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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