#4E5FBC#4E5FBC

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

Color values

HEX#4E5FBC
RGBrgb(78, 95, 188)
HSLhsl(231, 45%, 52%)
HSVhsv(231, 59%, 74%)
CMYKcmyk(58.5%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.41, 21.76, -51.15)
CIE-LCHlch(43.41, 55.58, 293.05°)
OKLaboklab(52.04% 0.0065 -0.1462)
OKLCHoklch(52.04% 0.146 272.5)
XYZxyz(16.3082, 13.4337, 49.3008)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBC #BCAB4E
analogous
#4E96BC #4E5FBC #744EBC
triadic
#4E5FBC #BC4E5F #5FBC4E
tetradic
#4E5FBC #BC4E96 #BCAB4E #4EBC74
square
#4E5FBC #BC4E96 #BCAB4E #4EBC74
split-complementary
#4E5FBC #BC744E #96BC4E
monochromatic
#273168 #384795 #4E5FBC #7A87CD #A7AFDE

Accessibility & contrast

On white

5.70
#4E5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FBC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FBC#FFFFFF#000000##FFFFFF
##4E5FBC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fbc;
/* rgb */ color: rgb(78, 95, 188);
/* oklch */ color: oklch(52.0% 0.146 272.5);
Tailwind
colors: {
  custom: {
    50: '#898cd1',
    500: '#4e5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fbc;
$custom-light: #898cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fbc",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 230.727,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52037,
    "c": 0.14633,
    "h": 272.5
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#4E5FBC
secondary
#CBC39B
accent
#C153D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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