#4E6AB7#4E6AB7

#4E6AB7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.0% C 0.125 H 267.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E6AB7
RGBrgb(78, 106, 183)
HSLhsl(224, 42%, 51%)
HSVhsv(224, 57%, 72%)
CMYKcmyk(57.4%, 42.1%, 0%, 28.2%)
CIE-LABlab(46.10, 13.14, -43.93)
CIE-LCHlch(46.10, 45.85, 286.65°)
OKLaboklab(54% -0.0063 -0.1249)
OKLCHoklch(54% 0.125 267.1)
XYZxyz(16.8403, 15.3453, 46.8651)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AB7 #B79B4E
analogous
#4E9EB7 #4E6AB7 #664EB7
triadic
#4E6AB7 #B74E6A #6AB74E
tetradic
#4E6AB7 #B74E9E #B79B4E #4EB766
square
#4E6AB7 #B74E9E #B79B4E #4EB766
split-complementary
#4E6AB7 #B7664E #9EB74E
monochromatic
#283863 #3A508E #4E6AB7 #7A8FC9 #A5B3DA

Accessibility & contrast

On white

5.16
#4E6AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4E6AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AB7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AB7#FFFFFF#000000##FFFFFF
##4E6AB71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#3B69B5
Tritanopia (blue-blind)
#007B87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e6ab7;
/* rgb */ color: rgb(78, 106, 183);
/* oklch */ color: oklch(54.0% 0.125 267.1);
Tailwind
colors: {
  custom: {
    50: '#8894cd',
    500: '#4e6ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ab7;
$custom-light: #8894cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ab7",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 224,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.12503,
    "h": 267.1
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#4E6AB7
secondary
#C8BB99
accent
#B156D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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