#4E7AB9#4E7AB9

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

Color values

HEX#4E7AB9
RGBrgb(78, 122, 185)
HSLhsl(215, 43%, 52%)
HSVhsv(215, 58%, 73%)
CMYKcmyk(57.8%, 34.1%, 0%, 27.5%)
CIE-LABlab(50.73, 3.96, -37.76)
CIE-LCHlch(50.73, 37.96, 275.99°)
OKLaboklab(57.62% -0.0238 -0.1067)
OKLCHoklch(57.62% 0.109 257.4)
XYZxyz(18.8553, 19.0400, 48.5710)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AB9 #B98D4E
analogous
#4EB0B9 #4E7AB9 #584EB9
triadic
#4E7AB9 #B94E7A #7AB94E
tetradic
#4E7AB9 #B94EB0 #B98D4E #4EB958
square
#4E7AB9 #B94EB0 #B98D4E #4EB958
split-complementary
#4E7AB9 #B9584E #B0B94E
monochromatic
#284165 #395D91 #4E7AB9 #7A9BCA #A6BCDC

Accessibility & contrast

On white

4.37
#4E7AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E7AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AB9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AB9#FFFFFF#000000##000000
##4E7AB91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7ab9;
/* rgb */ color: rgb(78, 122, 185);
/* oklch */ color: oklch(57.6% 0.109 257.4);
Tailwind
colors: {
  custom: {
    50: '#88a0ce',
    500: '#4e7ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ab9;
$custom-light: #88a0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ab9",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 185
  },
  "hsl": {
    "h": 215.327,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.1093,
    "h": 257.4
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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