#4E7CC9#4E7CC9

#4E7CC9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.129 H 260.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC9
RGBrgb(78, 124, 201)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 61%, 79%)
CMYKcmyk(61.2%, 38.3%, 0%, 21.2%)
CIE-LABlab(52.12, 8.12, -44.73)
CIE-LCHlch(52.12, 45.46, 280.29°)
OKLaboklab(58.96% -0.022 -0.127)
OKLCHoklch(58.96% 0.129 260.2)
XYZxyz(20.8884, 20.2502, 58.0549)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC9 #C99B4E
analogous
#4EBAC9 #4E7CC9 #5E4EC9
triadic
#4E7CC9 #C94E7C #7CC94E
tetradic
#4E7CC9 #C94EBA #C99B4E #4EC95E
square
#4E7CC9 #C94EBA #C99B4E #4EC95E
split-complementary
#4E7CC9 #C95E4E #BAC94E
monochromatic
#254478 #335EA7 #4E7CC9 #7D9FD7 #ACC1E6

Accessibility & contrast

On white

4.16
#4E7CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E7CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC9#FFFFFF#000000##000000
##4E7CC91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CC
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7cc9;
/* rgb */ color: rgb(78, 124, 201);
/* oklch */ color: oklch(59.0% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#8aa1da',
    500: '#4e7cc9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc9;
$custom-light: #8aa1da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc9",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 217.561,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.12892,
    "h": 260.2
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#4E7CC9
secondary
#D3C09F
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4E7CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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