#4E7DC9#4E7DC9

#4E7DC9 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.128 H 259.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC9
RGBrgb(78, 125, 201)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(61.2%, 37.8%, 0%, 21.2%)
CIE-LABlab(52.40, 7.51, -44.28)
CIE-LCHlch(52.40, 44.92, 279.63°)
OKLaboklab(59.18% -0.0231 -0.1257)
OKLCHoklch(59.18% 0.128 259.6)
XYZxyz(21.0144, 20.5021, 58.0969)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC9 #C99A4E
analogous
#4EBBC9 #4E7DC9 #5C4EC9
triadic
#4E7DC9 #C94E7D #7DC94E
tetradic
#4E7DC9 #C94EBB #C99A4E #4EC95C
square
#4E7DC9 #C94EBB #C99A4E #4EC95C
split-complementary
#4E7DC9 #C95C4E #BBC94E
monochromatic
#254478 #335FA7 #4E7DC9 #7D9FD7 #ACC2E6

Accessibility & contrast

On white

4.12
#4E7DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E7DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC9#FFFFFF#000000##000000
##4E7DC91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7dc9;
/* rgb */ color: rgb(78, 125, 201);
/* oklch */ color: oklch(59.2% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa2da',
    500: '#4e7dc9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc9;
$custom-light: #8aa2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc9",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 217.073,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.1278,
    "h": 259.6
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#4E7DC9
secondary
#D3C09F
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4E7DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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