#4E5FB7#4E5FB7

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

Color values

HEX#4E5FB7
RGBrgb(78, 95, 183)
HSLhsl(230, 42%, 51%)
HSVhsv(230, 57%, 72%)
CMYKcmyk(57.4%, 48.1%, 0%, 28.2%)
CIE-LABlab(43.10, 20.07, -48.74)
CIE-LCHlch(43.10, 52.71, 292.39°)
OKLaboklab(51.7% 0.0059 -0.1391)
OKLCHoklch(51.7% 0.139 272.4)
XYZxyz(15.7785, 13.2218, 46.5112)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB7 #B7A64E
analogous
#4E93B7 #4E5FB7 #714EB7
triadic
#4E5FB7 #B74E5F #5FB74E
tetradic
#4E5FB7 #B74E93 #B7A64E #4EB771
square
#4E5FB7 #B74E93 #B7A64E #4EB771
split-complementary
#4E5FB7 #B7714E #93B74E
monochromatic
#283263 #3A478E #4E5FB7 #7A86C9 #A5AEDA

Accessibility & contrast

On white

5.76
#4E5FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5FB7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB7#FFFFFF#000000##FFFFFF
##4E5FB71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#077382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fb7;
/* rgb */ color: rgb(78, 95, 183);
/* oklch */ color: oklch(51.7% 0.139 272.4);
Tailwind
colors: {
  custom: {
    50: '#888ccd',
    500: '#4e5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb7;
$custom-light: #888ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb7",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 230.286,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.13923,
    "h": 272.4
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#4E5FB7
secondary
#C8C099
accent
#BE56D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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