#4E7AC9#4E7AC9

#4E7AC9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.131 H 261.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC9
RGBrgb(78, 122, 201)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(61.2%, 39.3%, 0%, 21.2%)
CIE-LABlab(51.56, 9.34, -45.62)
CIE-LCHlch(51.56, 46.57, 281.57°)
OKLaboklab(58.53% -0.0199 -0.1296)
OKLCHoklch(58.53% 0.131 261.3)
XYZxyz(20.6403, 19.7540, 57.9722)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC9 #C99D4E
analogous
#4EB7C9 #4E7AC9 #604EC9
triadic
#4E7AC9 #C94E7A #7AC94E
tetradic
#4E7AC9 #C94EB7 #C99D4E #4EC960
square
#4E7AC9 #C94EB7 #C99D4E #4EC960
split-complementary
#4E7AC9 #C9604E #B7C94E
monochromatic
#254278 #335CA7 #4E7AC9 #7D9DD7 #ACC0E6

Accessibility & contrast

On white

4.24
#4E7AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4E7AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC9#FFFFFF#000000##000000
##4E7AC91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7ac9;
/* rgb */ color: rgb(78, 122, 201);
/* oklch */ color: oklch(58.5% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#8aa0da',
    500: '#4e7ac9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac9;
$custom-light: #8aa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac9",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 218.537,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.13117,
    "h": 261.3
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#4E7AC9
secondary
#D3C19F
accent
#A94BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4E7AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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