#4E6BBA#4E6BBA

#4E6BBA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.128 H 267.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E6BBA
RGBrgb(78, 107, 186)
HSLhsl(224, 44%, 52%)
HSVhsv(224, 58%, 73%)
CMYKcmyk(58.1%, 42.5%, 0%, 27.1%)
CIE-LABlab(46.55, 13.53, -44.96)
CIE-LCHlch(46.55, 46.95, 286.74°)
OKLaboklab(54.4% -0.0068 -0.1279)
OKLCHoklch(54.4% 0.128 267)
XYZxyz(17.2595, 15.6789, 48.5617)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BBA #BA9D4E
analogous
#4EA1BA #4E6BBA #674EBA
triadic
#4E6BBA #BA4E6B #6BBA4E
tetradic
#4E6BBA #BA4EA1 #BA9D4E #4EBA67
square
#4E6BBA #BA4EA1 #BA9D4E #4EBA67
split-complementary
#4E6BBA #BA674E #A1BA4E
monochromatic
#283866 #395192 #4E6BBA #7A90CB #A6B5DC

Accessibility & contrast

On white

5.08
#4E6BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E6BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BBA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BBA#FFFFFF#000000##FFFFFF
##4E6BBA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e6bba;
/* rgb */ color: rgb(78, 107, 186);
/* oklch */ color: oklch(54.4% 0.128 267.0);
Tailwind
colors: {
  custom: {
    50: '#8895cf',
    500: '#4e6bba',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bba;
$custom-light: #8895cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bba",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 186
  },
  "hsl": {
    "h": 223.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.12806,
    "h": 267
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#4E6BBA
secondary
#CABD9A
accent
#B154D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E6BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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