#4E6BAB#4E6BAB

#4E6BAB is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.5% C 0.107 H 264.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E6BAB
RGBrgb(78, 107, 171)
HSLhsl(221, 37%, 49%)
HSVhsv(221, 54%, 67%)
CMYKcmyk(54.4%, 37.4%, 0%, 32.9%)
CIE-LABlab(45.74, 8.52, -37.51)
CIE-LCHlch(45.74, 38.47, 282.79°)
OKLaboklab(53.5% -0.01 -0.1061)
OKLCHoklch(53.5% 0.107 264.6)
XYZxyz(15.7478, 15.0742, 40.5999)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BAB #AB8E4E
analogous
#4E9AAB #4E6BAB #604EAB
triadic
#4E6BAB #AB4E6B #6BAB4E
tetradic
#4E6BAB #AB4E9A #AB8E4E #4EAB60
square
#4E6BAB #AB4E9A #AB8E4E #4EAB60
split-complementary
#4E6BAB #AB604E #9AAB4E
monochromatic
#283657 #3B5181 #4E6BAB #768DC0 #A0B0D4

Accessibility & contrast

On white

5.23
#4E6BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4E6BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BAB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BAB#FFFFFF#000000##FFFFFF
##4E6BAB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#1C7983
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e6bab;
/* rgb */ color: rgb(78, 107, 171);
/* oklch */ color: oklch(53.5% 0.107 264.6);
Tailwind
colors: {
  custom: {
    50: '#8695c4',
    500: '#4e6bab',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bab;
$custom-light: #8695c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bab",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 171
  },
  "hsl": {
    "h": 221.29,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.10655,
    "h": 264.6
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#4E6BAB
secondary
#C1B394
accent
#AA5ACD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E6BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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