#4E61A2#4E61A2

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

Color values

HEX#4E61A2
RGBrgb(78, 97, 162)
HSLhsl(226, 35%, 47%)
HSVhsv(226, 52%, 64%)
CMYKcmyk(51.9%, 40.1%, 0%, 36.5%)
CIE-LABlab(42.42, 11.82, -37.44)
CIE-LCHlch(42.42, 39.27, 287.52°)
OKLaboklab(50.79% 0 -0.106)
OKLCHoklch(50.79% 0.106 270)
XYZxyz(13.9361, 12.7768, 35.9072)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E61A2 #A28F4E
analogous
#4E8BA2 #4E61A2 #654EA2
triadic
#4E61A2 #A24E61 #61A24E
tetradic
#4E61A2 #A24E8B #A28F4E #4EA265
square
#4E61A2 #A24E8B #A28F4E #4EA265
split-complementary
#4E61A2 #A2654E #8BA24E
monochromatic
#26304F #3A4879 #4E61A2 #7283BB #9BA7CF

Accessibility & contrast

On white

5.91
#4E61A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E61A2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E61A2#FFFFFF#000000##FFFFFF
##4E61A21.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#296F79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e61a2;
/* rgb */ color: rgb(78, 97, 162);
/* oklch */ color: oklch(50.8% 0.106 270.0);
Tailwind
colors: {
  custom: {
    50: '#858dbe',
    500: '#4e61a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e61a2;
$custom-light: #858dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e61a2",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 226.429,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.10597,
    "h": 270
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#4E61A2
secondary
#BCB290
accent
#B25DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E61A2

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

Preview Lab → · Contrast checker → · Palette generator →

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