#4E6CBA#4E6CBA

#4E6CBA is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.127 H 266.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E6CBA
RGBrgb(78, 108, 186)
HSLhsl(223, 44%, 52%)
HSVhsv(223, 58%, 73%)
CMYKcmyk(58.1%, 41.9%, 0%, 27.1%)
CIE-LABlab(46.83, 12.90, -44.52)
CIE-LCHlch(46.83, 46.35, 286.16°)
OKLaboklab(54.61% -0.0079 -0.1266)
OKLCHoklch(54.61% 0.127 266.4)
XYZxyz(17.3644, 15.8886, 48.5966)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CBA #BA9C4E
analogous
#4EA2BA #4E6CBA #664EBA
triadic
#4E6CBA #BA4E6C #6CBA4E
tetradic
#4E6CBA #BA4EA2 #BA9C4E #4EBA66
square
#4E6CBA #BA4EA2 #BA9C4E #4EBA66
split-complementary
#4E6CBA #BA664E #A2BA4E
monochromatic
#283966 #395292 #4E6CBA #7A91CB #A6B5DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6CBA#FFFFFF#000000##FFFFFF
##4E6CBA1.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)
#4A74BD
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6cba;
/* rgb */ color: rgb(78, 108, 186);
/* oklch */ color: oklch(54.6% 0.127 266.4);
Tailwind
colors: {
  custom: {
    50: '#8895cf',
    500: '#4e6cba',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cba;
$custom-light: #8895cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cba",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 223.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.12682,
    "h": 266.4
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#4E6CBA
secondary
#CABC9A
accent
#B054D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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