#4E6FA8#4E6FA8

#4E6FA8 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.2% C 0.098 H 260.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E6FA8
RGBrgb(78, 111, 168)
HSLhsl(218, 37%, 48%)
HSVhsv(218, 54%, 66%)
CMYKcmyk(53.6%, 33.9%, 0%, 34.1%)
CIE-LABlab(46.73, 5.06, -34.19)
CIE-LCHlch(46.73, 34.56, 278.43°)
OKLaboklab(54.22% -0.0156 -0.0964)
OKLCHoklch(54.22% 0.098 260.8)
XYZxyz(15.8918, 15.8146, 39.2533)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FA8 #A8874E
analogous
#4E9CA8 #4E6FA8 #5A4EA8
triadic
#4E6FA8 #A84E6F #6FA84E
tetradic
#4E6FA8 #A84E9C #A8874E #4EA85A
square
#4E6FA8 #A84E9C #A8874E #4EA85A
split-complementary
#4E6FA8 #A85A4E #9CA84E
monochromatic
#273854 #3B537E #4E6FA8 #7590BF #9EB1D2

Accessibility & contrast

On white

5.04
#4E6FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E6FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FA8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FA8#FFFFFF#000000##FFFFFF
##4E6FA81.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#1F7B84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6fa8;
/* rgb */ color: rgb(78, 111, 168);
/* oklch */ color: oklch(54.2% 0.098 260.8);
Tailwind
colors: {
  custom: {
    50: '#8598c2',
    500: '#4e6fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fa8;
$custom-light: #8598c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fa8",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 218,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.09762,
    "h": 260.8
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#4E6FA8
secondary
#BFAF93
accent
#A35BCD
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E6FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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