#4E7EBA#4E7EBA

#4E7EBA is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.107 H 254.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7EBA
RGBrgb(78, 126, 186)
HSLhsl(213, 44%, 52%)
HSVhsv(213, 58%, 73%)
CMYKcmyk(58.1%, 32.3%, 0%, 27.1%)
CIE-LABlab(51.93, 1.89, -36.45)
CIE-LCHlch(51.93, 36.50, 272.97°)
OKLaboklab(58.57% -0.028 -0.1028)
OKLCHoklch(58.57% 0.107 254.7)
XYZxyz(19.4625, 20.0849, 49.2960)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EBA #BA8A4E
analogous
#4EB4BA #4E7EBA #544EBA
triadic
#4E7EBA #BA4E7E #7EBA4E
tetradic
#4E7EBA #BA4EB4 #BA8A4E #4EBA54
square
#4E7EBA #BA4EB4 #BA8A4E #4EBA54
split-complementary
#4E7EBA #BA544E #B4BA4E
monochromatic
#284366 #396092 #4E7EBA #7A9ECB #A6BEDC

Accessibility & contrast

On white

4.19
#4E7EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4E7EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EBA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EBA#FFFFFF#000000##000000
##4E7EBA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BD
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7eba;
/* rgb */ color: rgb(78, 126, 186);
/* oklch */ color: oklch(58.6% 0.107 254.7);
Tailwind
colors: {
  custom: {
    50: '#88a3cf',
    500: '#4e7eba',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eba;
$custom-light: #88a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eba",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 213.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.10659,
    "h": 254.7
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#4E7EBA
secondary
#CAB59A
accent
#9B54D4
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E7EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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