#4E6BC6#4E6BC6

#4E6BC6 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.2% C 0.145 H 268.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E6BC6
RGBrgb(78, 107, 198)
HSLhsl(226, 51%, 54%)
HSVhsv(226, 61%, 78%)
CMYKcmyk(60.6%, 46%, 0%, 22.4%)
CIE-LABlab(47.25, 17.60, -50.77)
CIE-LCHlch(47.25, 53.74, 289.12°)
OKLaboklab(55.16% -0.0048 -0.1449)
OKLCHoklch(55.16% 0.145 268.1)
XYZxyz(18.5892, 16.2107, 55.5645)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BC6 #C6A94E
analogous
#4EA7C6 #4E6BC6 #6D4EC6
triadic
#4E6BC6 #C64E6B #6BC64E
tetradic
#4E6BC6 #C64EA7 #C6A94E #4EC66D
square
#4E6BC6 #C64EA7 #C6A94E #4EC66D
split-complementary
#4E6BC6 #C66D4E #A7C64E
monochromatic
#253874 #344FA2 #4E6BC6 #7C92D5 #ABB8E4

Accessibility & contrast

On white

4.95
#4E6BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E6BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BC6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BC6#FFFFFF#000000##FFFFFF
##4E6BC61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4076C9
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e6bc6;
/* rgb */ color: rgb(78, 107, 198);
/* oklch */ color: oklch(55.2% 0.145 268.1);
Tailwind
colors: {
  custom: {
    50: '#8a95d8',
    500: '#4e6bc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bc6;
$custom-light: #8a95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bc6",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 198
  },
  "hsl": {
    "h": 225.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.14502,
    "h": 268.1
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#4E6BC6
secondary
#D1C59E
accent
#B94DDB
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E6BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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