#4E61B5#4E61B5

#4E61B5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.134 H 271.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4E61B5
RGBrgb(78, 97, 181)
HSLhsl(229, 41%, 51%)
HSVhsv(229, 57%, 71%)
CMYKcmyk(56.9%, 46.4%, 0%, 29%)
CIE-LABlab(43.51, 18.13, -46.90)
CIE-LCHlch(43.51, 50.28, 291.14°)
OKLaboklab(51.98% 0.0034 -0.1337)
OKLCHoklch(51.98% 0.134 271.5)
XYZxyz(15.7543, 13.5041, 45.4835)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E61B5 #B5A24E
analogous
#4E94B5 #4E61B5 #6E4EB5
triadic
#4E61B5 #B54E61 #61B54E
tetradic
#4E61B5 #B54E94 #B5A24E #4EB56E
square
#4E61B5 #B54E94 #B5A24E #4EB56E
split-complementary
#4E61B5 #B56E4E #94B54E
monochromatic
#283360 #3A498B #4E61B5 #7988C7 #A4AED9

Accessibility & contrast

On white

5.67
#4E61B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E61B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E61B5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E61B5#FFFFFF#000000##FFFFFF
##4E61B51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB8
Deuteranopia (green-blind)
#2C63B3
Tritanopia (blue-blind)
#0D7482
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e61b5;
/* rgb */ color: rgb(78, 97, 181);
/* oklch */ color: oklch(52.0% 0.134 271.5);
Tailwind
colors: {
  custom: {
    50: '#888dcc',
    500: '#4e61b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e61b5;
$custom-light: #888dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e61b5",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 228.932,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.13372,
    "h": 271.5
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#4E61B5
secondary
#C6BE99
accent
#BA57D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E61B5

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

Preview Lab → · Contrast checker → · Palette generator →

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