#4E7FBA#4E7FBA

#4E7FBA is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.106 H 254.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E7FBA
RGBrgb(78, 127, 186)
HSLhsl(213, 44%, 52%)
HSVhsv(213, 58%, 73%)
CMYKcmyk(58.1%, 31.7%, 0%, 27.1%)
CIE-LABlab(52.22, 1.30, -35.99)
CIE-LCHlch(52.22, 36.02, 272.06°)
OKLaboklab(58.8% -0.0292 -0.1015)
OKLCHoklch(58.8% 0.106 254)
XYZxyz(19.5910, 20.3419, 49.3388)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FBA #BA894E
analogous
#4EB5BA #4E7FBA #534EBA
triadic
#4E7FBA #BA4E7F #7FBA4E
tetradic
#4E7FBA #BA4EB5 #BA894E #4EBA53
square
#4E7FBA #BA4EB5 #BA894E #4EBA53
split-complementary
#4E7FBA #BA534E #B5BA4E
monochromatic
#284466 #396192 #4E7FBA #7A9FCB #A6BFDC

Accessibility & contrast

On white

4.14
#4E7FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4E7FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FBA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FBA#FFFFFF#000000##000000
##4E7FBA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BD
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7fba;
/* rgb */ color: rgb(78, 127, 186);
/* oklch */ color: oklch(58.8% 0.106 254.0);
Tailwind
colors: {
  custom: {
    50: '#88a3cf',
    500: '#4e7fba',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fba;
$custom-light: #88a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fba",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 212.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.10561,
    "h": 254
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#4E7FBA
secondary
#CAB49A
accent
#9A54D4
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E7FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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