#4E58CF#4E58CF

#4E58CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.182 H 274.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E58CF
RGBrgb(78, 88, 207)
HSLhsl(235, 57%, 56%)
HSVhsv(235, 62%, 81%)
CMYKcmyk(62.3%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.92, 32.59, -62.94)
CIE-LCHlch(42.92, 70.88, 297.38°)
OKLaboklab(52.08% 0.0144 -0.1809)
OKLCHoklch(52.08% 0.182 274.6)
XYZxyz(17.8904, 13.1027, 60.6057)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58CF #CFC54E
analogous
#4E98CF #4E58CF #844ECF
triadic
#4E58CF #CF4E58 #58CF4E
tetradic
#4E58CF #CF4E98 #CFC54E #4ECF84
square
#4E58CF #CF4E98 #CFC54E #4ECF84
split-complementary
#4E58CF #CF844E #98CF4E
monochromatic
#232A80 #303AB0 #4E58CF #7E85DC #AEB3E9

Accessibility & contrast

On white

5.80
#4E58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58CF#FFFFFF#000000##FFFFFF
##4E58CF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e58cf;
/* rgb */ color: rgb(78, 88, 207);
/* oklch */ color: oklch(52.1% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4e58cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e58cf;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58cf",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 235.349,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.18152,
    "h": 274.6
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#4E58CF
secondary
#D7D3A2
accent
#D547E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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