#4E7FDF#4E7FDF

#4E7FDF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.155 H 262.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4E7FDF
RGBrgb(78, 127, 223)
HSLhsl(220, 69%, 59%)
HSVhsv(220, 65%, 87%)
CMYKcmyk(65%, 43%, 0%, 12.5%)
CIE-LABlab(54.16, 13.82, -53.92)
CIE-LCHlch(54.16, 55.67, 284.38°)
OKLaboklab(60.93% -0.0206 -0.1539)
OKLCHoklch(60.93% 0.155 262.4)
XYZxyz(24.0459, 22.1239, 72.8008)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FDF #DFAE4E
analogous
#4EC8DF #4E7FDF #664EDF
triadic
#4E7FDF #DF4E7F #7FDF4E
tetradic
#4E7FDF #DF4EC8 #DFAE4E #4EDF66
square
#4E7FDF #DF4EC8 #DFAE4E #4EDF66
split-complementary
#4E7FDF #DF664E #C8DF4E
monochromatic
#1B4597 #255DCB #4E7FDF #82A4E8 #B6CAF2

Accessibility & contrast

On white

3.87
#4E7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4E7FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FDF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FDF#FFFFFF#000000##000000
##4E7FDF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7fdf;
/* rgb */ color: rgb(78, 127, 223);
/* oklch */ color: oklch(60.9% 0.155 262.4);
Tailwind
colors: {
  custom: {
    50: '#8da3e9',
    500: '#4e7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fdf;
$custom-light: #8da3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fdf",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 219.724,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.15531,
    "h": 262.4
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#4E7FDF
secondary
#E1CEA8
accent
#B13CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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