#4E58BF#4E58BF

#4E58BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.160 H 275.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4E58BF
RGBrgb(78, 88, 191)
HSLhsl(235, 47%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(59.2%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.78, 27.20, -55.52)
CIE-LCHlch(41.78, 61.82, 296.11°)
OKLaboklab(50.87% 0.014 -0.1591)
OKLCHoklch(50.87% 0.16 275)
XYZxyz(16.0325, 12.3595, 50.8209)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58BF #BFB54E
analogous
#4E91BF #4E58BF #7C4EBF
triadic
#4E58BF #BF4E58 #58BF4E
tetradic
#4E58BF #BF4E91 #BFB54E #4EBF7C
square
#4E58BF #BF4E91 #BFB54E #4EBF7C
split-complementary
#4E58BF #BF7C4E #91BF4E
monochromatic
#272D6C #374099 #4E58BF #7B82CF #A8ADE0

Accessibility & contrast

On white

6.05
#4E58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58BF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58BF#FFFFFF#000000##FFFFFF
##4E58BF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e58bf;
/* rgb */ color: rgb(78, 88, 191);
/* oklch */ color: oklch(50.9% 0.160 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a87d3',
    500: '#4e58bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e58bf;
$custom-light: #8a87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58bf",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 234.69,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.15973,
    "h": 275
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#4E58BF
secondary
#CDC99C
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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