#4E5FB8#4E5FB8

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

Color values

HEX#4E5FB8
RGBrgb(78, 95, 184)
HSLhsl(230, 43%, 51%)
HSVhsv(230, 58%, 72%)
CMYKcmyk(57.6%, 48.4%, 0%, 27.8%)
CIE-LABlab(43.16, 20.41, -49.22)
CIE-LCHlch(43.16, 53.28, 292.52°)
OKLaboklab(51.77% 0.006 -0.1405)
OKLCHoklch(51.77% 0.141 272.5)
XYZxyz(15.8830, 13.2636, 47.0613)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB8 #B8A74E
analogous
#4E94B8 #4E5FB8 #724EB8
triadic
#4E5FB8 #B84E5F #5FB84E
tetradic
#4E5FB8 #B84E94 #B8A74E #4EB872
square
#4E5FB8 #B84E94 #B8A74E #4EB872
split-complementary
#4E5FB8 #B8724E #94B84E
monochromatic
#283264 #39478F #4E5FB8 #7A86CA #A5AEDB

Accessibility & contrast

On white

5.75
#4E5FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E5FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FB8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB8#FFFFFF#000000##FFFFFF
##4E5FB81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#2362B6
Tritanopia (blue-blind)
#047383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fb8;
/* rgb */ color: rgb(78, 95, 184);
/* oklch */ color: oklch(51.8% 0.141 272.5);
Tailwind
colors: {
  custom: {
    50: '#888cce',
    500: '#4e5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb8;
$custom-light: #888cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb8",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 230.377,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.14065,
    "h": 272.5
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#4E5FB8
secondary
#C8C19A
accent
#BE55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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