#4B58D8#4B58D8

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

Color values

HEX#4B58D8
RGBrgb(75, 88, 216)
HSLhsl(234, 64%, 57%)
HSVhsv(234, 65%, 85%)
CMYKcmyk(65.3%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.41, 35.17, -67.31)
CIE-LCHlch(43.41, 75.94, 297.59°)
OKLaboklab(52.61% 0.0111 -0.1939)
OKLCHoklch(52.61% 0.194 273.3)
XYZxyz(18.7819, 13.4315, 66.5552)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D8 #D8CB4B
analogous
#4B9FD8 #4B58D8 #854BD8
triadic
#4B58D8 #D84B58 #58D84B
tetradic
#4B58D8 #D84B9F #D8CB4B #4BD885
square
#4B58D8 #D84B9F #D8CB4B #4BD885
split-complementary
#4B58D8 #D8854B #9FD84B
monochromatic
#1E288B #2937BD #4B58D8 #7D87E3 #B0B5EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B58D8#FFFFFF#000000##FFFFFF
##4B58D81.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)
#006DDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b58d8;
/* rgb */ color: rgb(75, 88, 216);
/* oklch */ color: oklch(52.6% 0.194 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d87e5',
    500: '#4b58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d8;
$custom-light: #8d87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d8",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 234.468,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.1942,
    "h": 273.3
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#4B58D8
secondary
#DCD7A3
accent
#D840E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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