#4E6FC4#4E6FC4

#4E6FC4 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.9% C 0.137 H 266.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E6FC4
RGBrgb(78, 111, 196)
HSLhsl(223, 50%, 54%)
HSVhsv(223, 60%, 77%)
CMYKcmyk(60.2%, 43.4%, 0%, 23.1%)
CIE-LABlab(48.23, 14.42, -48.06)
CIE-LCHlch(48.23, 50.18, 286.70°)
OKLaboklab(55.87% -0.0093 -0.1369)
OKLCHoklch(55.87% 0.137 266.1)
XYZxyz(18.7867, 16.9725, 54.4999)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FC4 #C4A34E
analogous
#4EAAC4 #4E6FC4 #684EC4
triadic
#4E6FC4 #C44E6F #6FC44E
tetradic
#4E6FC4 #C44EAA #C4A34E #4EC468
square
#4E6FC4 #C44EAA #C4A34E #4EC468
split-complementary
#4E6FC4 #C4684E #AAC44E
monochromatic
#263B72 #3553A0 #4E6FC4 #7C94D3 #AABAE3

Accessibility & contrast

On white

4.78
#4E6FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E6FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FC4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FC4#FFFFFF#000000##FFFFFF
##4E6FC41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#386DC2
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e6fc4;
/* rgb */ color: rgb(78, 111, 196);
/* oklch */ color: oklch(55.9% 0.137 266.1);
Tailwind
colors: {
  custom: {
    50: '#8997d6',
    500: '#4e6fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fc4;
$custom-light: #8997d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fc4",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 223.22,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.13726,
    "h": 266.1
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#4E6FC4
secondary
#D0C29E
accent
#B34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E6FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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