#4E5FBB#4E5FBB

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

Color values

HEX#4E5FBB
RGBrgb(78, 95, 187)
HSLhsl(231, 44%, 52%)
HSVhsv(231, 58%, 73%)
CMYKcmyk(58.3%, 49.2%, 0%, 26.7%)
CIE-LABlab(43.35, 21.43, -50.67)
CIE-LCHlch(43.35, 55.01, 292.92°)
OKLaboklab(51.97% 0.0064 -0.1448)
OKLCHoklch(51.97% 0.145 272.5)
XYZxyz(16.2008, 13.3907, 48.7350)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBB #BBAA4E
analogous
#4E96BB #4E5FBB #744EBB
triadic
#4E5FBB #BB4E5F #5FBB4E
tetradic
#4E5FBB #BB4E96 #BBAA4E #4EBB74
square
#4E5FBB #BB4E96 #BBAA4E #4EBB74
split-complementary
#4E5FBB #BB744E #96BB4E
monochromatic
#283167 #394793 #4E5FBB #7A87CC #A6AFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5FBB#FFFFFF#000000##FFFFFF
##4E5FBB1.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)
#316BBE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fbb;
/* rgb */ color: rgb(78, 95, 187);
/* oklch */ color: oklch(52.0% 0.145 272.5);
Tailwind
colors: {
  custom: {
    50: '#898cd0',
    500: '#4e5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fbb;
$custom-light: #898cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fbb",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 230.642,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.14491,
    "h": 272.5
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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