#4E5FB3#4E5FB3

#4E5FB3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.133 H 272.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB3
RGBrgb(78, 95, 179)
HSLhsl(230, 40%, 50%)
HSVhsv(230, 56%, 70%)
CMYKcmyk(56.4%, 46.9%, 0%, 29.8%)
CIE-LABlab(42.85, 18.73, -46.79)
CIE-LCHlch(42.85, 50.40, 291.82°)
OKLaboklab(51.43% 0.0054 -0.1334)
OKLCHoklch(51.43% 0.133 272.3)
XYZxyz(15.3681, 13.0577, 44.3496)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB3 #B3A24E
analogous
#4E91B3 #4E5FB3 #6F4EB3
triadic
#4E5FB3 #B34E5F #5FB34E
tetradic
#4E5FB3 #B34E91 #B3A24E #4EB36F
square
#4E5FB3 #B34E91 #B3A24E #4EB36F
split-complementary
#4E5FB3 #B36F4E #91B34E
monochromatic
#28315E #3B4889 #4E5FB3 #7986C5 #A4ACD8

Accessibility & contrast

On white

5.81
#4E5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FB3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB3#FFFFFF#000000##FFFFFF
##4E5FB31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#137280
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb3;
/* rgb */ color: rgb(78, 95, 179);
/* oklch */ color: oklch(51.4% 0.133 272.3);
Tailwind
colors: {
  custom: {
    50: '#878cca',
    500: '#4e5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb3;
$custom-light: #878cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb3",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 229.901,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.13349,
    "h": 272.3
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#4E5FB3
secondary
#C5BD98
accent
#BC58D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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