#4E5FB6#4E5FB6

#4E5FB6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.138 H 272.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB6
RGBrgb(78, 95, 182)
HSLhsl(230, 42%, 51%)
HSVhsv(230, 57%, 71%)
CMYKcmyk(57.1%, 47.8%, 0%, 28.6%)
CIE-LABlab(43.03, 19.74, -48.25)
CIE-LCHlch(43.03, 52.13, 292.25°)
OKLaboklab(51.63% 0.0058 -0.1377)
OKLCHoklch(51.63% 0.138 272.4)
XYZxyz(15.6748, 13.1804, 45.9650)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB6 #B6A54E
analogous
#4E93B6 #4E5FB6 #714EB6
triadic
#4E5FB6 #B64E5F #5FB64E
tetradic
#4E5FB6 #B64E93 #B6A54E #4EB671
square
#4E5FB6 #B64E93 #B6A54E #4EB671
split-complementary
#4E5FB6 #B6714E #93B64E
monochromatic
#283261 #3A488D #4E5FB6 #7986C8 #A5ADDA

Accessibility & contrast

On white

5.77
#4E5FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4E5FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FB6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB6#FFFFFF#000000##FFFFFF
##4E5FB61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB9
Deuteranopia (green-blind)
#2761B4
Tritanopia (blue-blind)
#0B7282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fb6;
/* rgb */ color: rgb(78, 95, 182);
/* oklch */ color: oklch(51.6% 0.138 272.4);
Tailwind
colors: {
  custom: {
    50: '#888ccc',
    500: '#4e5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb6;
$custom-light: #888ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb6",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 230.192,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.13779,
    "h": 272.4
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#4E5FB6
secondary
#C7BF99
accent
#BD56D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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