#4E61A3#4E61A3

#4E61A3 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.8% C 0.107 H 270.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E61A3
RGBrgb(78, 97, 163)
HSLhsl(227, 35%, 47%)
HSVhsv(227, 52%, 64%)
CMYKcmyk(52.1%, 40.5%, 0%, 36.1%)
CIE-LABlab(42.48, 12.15, -37.95)
CIE-LCHlch(42.48, 39.85, 287.75°)
OKLaboklab(50.85% 0.0002 -0.1074)
OKLCHoklch(50.85% 0.107 270.1)
XYZxyz(14.0253, 12.8125, 36.3772)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E61A3 #A3904E
analogous
#4E8CA3 #4E61A3 #654EA3
triadic
#4E61A3 #A34E61 #61A34E
tetradic
#4E61A3 #A34E8C #A3904E #4EA365
square
#4E61A3 #A34E8C #A3904E #4EA365
split-complementary
#4E61A3 #A3654E #8CA34E
monochromatic
#263050 #3A487A #4E61A3 #7283BC #9CA7D0

Accessibility & contrast

On white

5.89
#4E61A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E61A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E61A3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E61A3#FFFFFF#000000##FFFFFF
##4E61A31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A6
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#286F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e61a3;
/* rgb */ color: rgb(78, 97, 163);
/* oklch */ color: oklch(50.8% 0.107 270.1);
Tailwind
colors: {
  custom: {
    50: '#858dbe',
    500: '#4e61a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e61a3;
$custom-light: #858dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e61a3",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 163
  },
  "hsl": {
    "h": 226.588,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.10745,
    "h": 270.1
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#4E61A3
secondary
#BCB291
accent
#B35CCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E61A3

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

Preview Lab → · Contrast checker → · Palette generator →

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