#4E7AB1#4E7AB1

#4E7AB1 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.099 H 254.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E7AB1
RGBrgb(78, 122, 177)
HSLhsl(213, 39%, 50%)
HSVhsv(213, 56%, 69%)
CMYKcmyk(55.9%, 31.1%, 0%, 30.6%)
CIE-LABlab(50.35, 1.33, -33.75)
CIE-LCHlch(50.35, 33.77, 272.26°)
OKLaboklab(57.19% -0.026 -0.095)
OKLCHoklch(57.19% 0.099 254.7)
XYZxyz(18.0344, 18.7116, 44.2478)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AB1 #B1854E
analogous
#4EACB1 #4E7AB1 #534EB1
triadic
#4E7AB1 #B14E7A #7AB14E
tetradic
#4E7AB1 #B14EAC #B1854E #4EB153
square
#4E7AB1 #B14EAC #B1854E #4EB153
split-complementary
#4E7AB1 #B1534E #ACB14E
monochromatic
#293F5C #3B5D87 #4E7AB1 #789AC4 #A3BAD6

Accessibility & contrast

On white

4.43
#4E7AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4E7AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AB1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AB1#FFFFFF#000000##000000
##4E7AB11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB3
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#07868E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e7ab1;
/* rgb */ color: rgb(78, 122, 177);
/* oklch */ color: oklch(57.2% 0.099 254.7);
Tailwind
colors: {
  custom: {
    50: '#87a0c8',
    500: '#4e7ab1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ab1;
$custom-light: #87a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ab1",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 213.333,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.09853,
    "h": 254.7
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#4E7AB1
secondary
#C4B097
accent
#9A59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E7AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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