#4E7FCB#4E7FCB

#4E7FCB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.128 H 258.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E7FCB
RGBrgb(78, 127, 203)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(61.6%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.07, 6.98, -44.36)
CIE-LCHlch(53.07, 44.91, 278.94°)
OKLaboklab(59.73% -0.0247 -0.1259)
OKLCHoklch(59.73% 0.128 258.9)
XYZxyz(21.5069, 21.1083, 59.4292)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCB #CB9A4E
analogous
#4EBDCB #4E7FCB #5B4ECB
triadic
#4E7FCB #CB4E7F #7FCB4E
tetradic
#4E7FCB #CB4EBD #CB9A4E #4ECB5B
square
#4E7FCB #CB4EBD #CB9A4E #4ECB5B
split-complementary
#4E7FCB #CB5B4E #BDCB4E
monochromatic
#24467B #3261AA #4E7FCB #7DA1D9 #ADC3E7

Accessibility & contrast

On white

4.02
#4E7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCB#FFFFFF#000000##000000
##4E7FCB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fcb;
/* rgb */ color: rgb(78, 127, 203);
/* oklch */ color: oklch(59.7% 0.128 258.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3db',
    500: '#4e7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fcb;
$custom-light: #8aa3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fcb",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 216.48,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.12832,
    "h": 258.9
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#4E7FCB
secondary
#D5C0A0
accent
#A44ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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