#4E5FBA#4E5FBA

#4E5FBA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.143 H 272.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E5FBA
RGBrgb(78, 95, 186)
HSLhsl(231, 44%, 52%)
HSVhsv(231, 58%, 73%)
CMYKcmyk(58.1%, 48.9%, 0%, 27.1%)
CIE-LABlab(43.28, 21.09, -50.19)
CIE-LCHlch(43.28, 54.44, 292.79°)
OKLaboklab(51.9% 0.0063 -0.1434)
OKLCHoklch(51.9% 0.144 272.5)
XYZxyz(16.0941, 13.3481, 48.1732)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBA #BAA94E
analogous
#4E95BA #4E5FBA #734EBA
triadic
#4E5FBA #BA4E5F #5FBA4E
tetradic
#4E5FBA #BA4E95 #BAA94E #4EBA73
square
#4E5FBA #BA4E95 #BAA94E #4EBA73
split-complementary
#4E5FBA #BA734E #95BA4E
monochromatic
#283266 #394792 #4E5FBA #7A87CB #A6AFDC

Accessibility & contrast

On white

5.72
#4E5FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E5FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FBA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FBA#FFFFFF#000000##FFFFFF
##4E5FBA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fba;
/* rgb */ color: rgb(78, 95, 186);
/* oklch */ color: oklch(51.9% 0.143 272.5);
Tailwind
colors: {
  custom: {
    50: '#898ccf',
    500: '#4e5fba',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fba;
$custom-light: #898ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fba",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 230.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.519,
    "c": 0.1435,
    "h": 272.5
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#4E5FBA
secondary
#CAC29A
accent
#C054D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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