#4E6FAA#4E6FAA

#4E6FAA is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.100 H 261.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E6FAA
RGBrgb(78, 111, 170)
HSLhsl(218, 37%, 49%)
HSVhsv(218, 54%, 67%)
CMYKcmyk(54.1%, 34.7%, 0%, 33.3%)
CIE-LABlab(46.83, 5.72, -35.20)
CIE-LCHlch(46.83, 35.66, 279.23°)
OKLaboklab(54.33% -0.015 -0.0993)
OKLCHoklch(54.33% 0.1 261.4)
XYZxyz(16.0796, 15.8897, 40.2421)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FAA #AA894E
analogous
#4E9DAA #4E6FAA #5B4EAA
triadic
#4E6FAA #AA4E6F #6FAA4E
tetradic
#4E6FAA #AA4E9D #AA894E #4EAA5B
square
#4E6FAA #AA4E9D #AA894E #4EAA5B
split-complementary
#4E6FAA #AA5B4E #9DAA4E
monochromatic
#283856 #3B5480 #4E6FAA #7590C0 #9FB2D3

Accessibility & contrast

On white

5.03
#4E6FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E6FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FAA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FAA#FFFFFF#000000##FFFFFF
##4E6FAA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AC
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#1C7C84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6faa;
/* rgb */ color: rgb(78, 111, 170);
/* oklch */ color: oklch(54.3% 0.100 261.4);
Tailwind
colors: {
  custom: {
    50: '#8698c3',
    500: '#4e6faa',
    950: '#000000',
  },
}
SCSS
$custom: #4e6faa;
$custom-light: #8698c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6faa",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 218.478,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.10045,
    "h": 261.4
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#4E6FAA
secondary
#C0B094
accent
#A45BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E6FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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