#4E58BE#4E58BE

#4E58BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.158 H 275.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E58BE
RGBrgb(78, 88, 190)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(58.9%, 53.7%, 0%, 25.5%)
CIE-LABlab(41.71, 26.87, -55.04)
CIE-LCHlch(41.71, 61.25, 296.02°)
OKLaboklab(50.8% 0.0139 -0.1577)
OKLCHoklch(50.8% 0.158 275)
XYZxyz(15.9229, 12.3157, 50.2433)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58BE #BEB44E
analogous
#4E90BE #4E58BE #7C4EBE
triadic
#4E58BE #BE4E58 #58BE4E
tetradic
#4E58BE #BE4E90 #BEB44E #4EBE7C
square
#4E58BE #BE4E90 #BEB44E #4EBE7C
split-complementary
#4E58BE #BE7C4E #90BE4E
monochromatic
#272D6A #384097 #4E58BE #7B82CE #A8ACDF

Accessibility & contrast

On white

6.06
#4E58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58BE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58BE#FFFFFF#000000##FFFFFF
##4E58BE1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e58be;
/* rgb */ color: rgb(78, 88, 190);
/* oklch */ color: oklch(50.8% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#8a87d2',
    500: '#4e58be',
    950: '#000000',
  },
}
SCSS
$custom: #4e58be;
$custom-light: #8a87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58be",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 234.643,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.508,
    "c": 0.15834,
    "h": 275
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#4E58BE
secondary
#CCC89C
accent
#CA52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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