#4E61B2#4E61B2

#4E61B2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.129 H 271.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E61B2
RGBrgb(78, 97, 178)
HSLhsl(229, 39%, 50%)
HSVhsv(229, 56%, 70%)
CMYKcmyk(56.2%, 45.5%, 0%, 30.2%)
CIE-LABlab(43.33, 17.13, -45.43)
CIE-LCHlch(43.33, 48.55, 290.66°)
OKLaboklab(51.78% 0.003 -0.1294)
OKLCHoklch(51.78% 0.129 271.3)
XYZxyz(15.4498, 13.3823, 43.8798)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E61B2 #B29F4E
analogous
#4E93B2 #4E61B2 #6D4EB2
triadic
#4E61B2 #B24E61 #61B24E
tetradic
#4E61B2 #B24E93 #B29F4E #4EB26D
square
#4E61B2 #B24E93 #B29F4E #4EB26D
split-complementary
#4E61B2 #B26D4E #93B24E
monochromatic
#29325D #3B4A88 #4E61B2 #7987C5 #A3ADD7

Accessibility & contrast

On white

5.71
#4E61B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E61B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E61B2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E61B2#FFFFFF#000000##FFFFFF
##4E61B21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#147381
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e61b2;
/* rgb */ color: rgb(78, 97, 178);
/* oklch */ color: oklch(51.8% 0.129 271.3);
Tailwind
colors: {
  custom: {
    50: '#878dc9',
    500: '#4e61b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e61b2;
$custom-light: #878dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e61b2",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 228.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.12939,
    "h": 271.3
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#4E61B2
secondary
#C4BC98
accent
#B959CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E61B2

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

Preview Lab → · Contrast checker → · Palette generator →

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