#4E5FBE#4E5FBE

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

Color values

HEX#4E5FBE
RGBrgb(78, 95, 190)
HSLhsl(231, 46%, 53%)
HSVhsv(231, 59%, 75%)
CMYKcmyk(58.9%, 50%, 0%, 25.5%)
CIE-LABlab(43.54, 22.44, -52.11)
CIE-LCHlch(43.54, 56.73, 293.30°)
OKLaboklab(52.17% 0.0067 -0.149)
OKLCHoklch(52.17% 0.149 272.6)
XYZxyz(16.5253, 13.5205, 50.4441)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBE #BEAD4E
analogous
#4E97BE #4E5FBE #754EBE
triadic
#4E5FBE #BE4E5F #5FBE4E
tetradic
#4E5FBE #BE4E97 #BEAD4E #4EBE75
square
#4E5FBE #BE4E97 #BEAD4E #4EBE75
split-complementary
#4E5FBE #BE754E #97BE4E
monochromatic
#27316A #384697 #4E5FBE #7B87CE #A8B0DF

Accessibility & contrast

On white

5.67
#4E5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5FBE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FBE#FFFFFF#000000##FFFFFF
##4E5FBE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fbe;
/* rgb */ color: rgb(78, 95, 190);
/* oklch */ color: oklch(52.2% 0.149 272.6);
Tailwind
colors: {
  custom: {
    50: '#898cd2',
    500: '#4e5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fbe;
$custom-light: #898cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fbe",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 230.893,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.14915,
    "h": 272.6
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#4E5FBE
secondary
#CCC59C
accent
#C252D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4E5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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