#4E61AB#4E61AB

#4E61AB is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.3% C 0.119 H 270.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E61AB
RGBrgb(78, 97, 171)
HSLhsl(228, 37%, 49%)
HSVhsv(228, 54%, 67%)
CMYKcmyk(54.4%, 43.3%, 0%, 32.9%)
CIE-LABlab(42.93, 14.79, -41.97)
CIE-LCHlch(42.93, 44.50, 289.41°)
OKLaboklab(51.34% 0.0018 -0.1192)
OKLCHoklch(51.34% 0.119 270.9)
XYZxyz(14.7649, 13.1083, 40.2723)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E61AB #AB984E
analogous
#4E90AB #4E61AB #6A4EAB
triadic
#4E61AB #AB4E61 #61AB4E
tetradic
#4E61AB #AB4E90 #AB984E #4EAB6A
square
#4E61AB #AB4E90 #AB984E #4EAB6A
split-complementary
#4E61AB #AB6A4E #90AB4E
monochromatic
#283157 #3B4981 #4E61AB #7685C0 #A0AAD4

Accessibility & contrast

On white

5.80
#4E61AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E61AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E61AB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E61AB#FFFFFF#000000##FFFFFF
##4E61AB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#3762A9
Tritanopia (blue-blind)
#1F717D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e61ab;
/* rgb */ color: rgb(78, 97, 171);
/* oklch */ color: oklch(51.3% 0.119 270.9);
Tailwind
colors: {
  custom: {
    50: '#868dc4',
    500: '#4e61ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e61ab;
$custom-light: #868dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e61ab",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 171
  },
  "hsl": {
    "h": 227.742,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.11922,
    "h": 270.9
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#4E61AB
secondary
#C1B794
accent
#B65ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E61AB

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

Preview Lab → · Contrast checker → · Palette generator →

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