#4E5FBD#4E5FBD

#4E5FBD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.148 H 272.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E5FBD
RGBrgb(78, 95, 189)
HSLhsl(231, 46%, 52%)
HSVhsv(231, 59%, 74%)
CMYKcmyk(58.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(43.47, 22.10, -51.63)
CIE-LCHlch(43.47, 56.16, 293.18°)
OKLaboklab(52.11% 0.0066 -0.1476)
OKLCHoklch(52.11% 0.148 272.6)
XYZxyz(16.4164, 13.4770, 49.8705)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBD #BDAC4E
analogous
#4E96BD #4E5FBD #754EBD
triadic
#4E5FBD #BD4E5F #5FBD4E
tetradic
#4E5FBD #BD4E96 #BDAC4E #4EBD75
square
#4E5FBD #BD4E96 #BDAC4E #4EBD75
split-complementary
#4E5FBD #BD754E #96BD4E
monochromatic
#273169 #384696 #4E5FBD #7B87CE #A7B0DE

Accessibility & contrast

On white

5.68
#4E5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FBD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FBD#FFFFFF#000000##FFFFFF
##4E5FBD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fbd;
/* rgb */ color: rgb(78, 95, 189);
/* oklch */ color: oklch(52.1% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#898cd1',
    500: '#4e5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fbd;
$custom-light: #898cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fbd",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 230.811,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52105,
    "c": 0.14775,
    "h": 272.6
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#4E5FBD
secondary
#CCC49B
accent
#C152D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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