#4B5ED8#4B5ED8

#4B5ED8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.187 H 271.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4B5ED8
RGBrgb(75, 94, 216)
HSLhsl(232, 64%, 57%)
HSVhsv(232, 65%, 85%)
CMYKcmyk(65.3%, 56.5%, 0%, 15.3%)
CIE-LABlab(44.88, 31.44, -64.91)
CIE-LCHlch(44.88, 72.12, 295.84°)
OKLaboklab(53.7% 0.0061 -0.1868)
OKLCHoklch(53.7% 0.187 271.9)
XYZxyz(19.2949, 14.4574, 66.7262)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5ED8 #D8C54B
analogous
#4BA5D8 #4B5ED8 #7F4BD8
triadic
#4B5ED8 #D84B5E #5ED84B
tetradic
#4B5ED8 #D84BA5 #D8C54B #4BD87F
square
#4B5ED8 #D84BA5 #D8C54B #4BD87F
split-complementary
#4B5ED8 #D87F4B #A5D84B
monochromatic
#1E2D8B #293DBD #4B5ED8 #7D8BE3 #B0B8EE

Accessibility & contrast

On white

5.40
#4B5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4B5ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5ED8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5ED8#FFFFFF#000000##FFFFFF
##4B5ED81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b5ed8;
/* rgb */ color: rgb(75, 94, 216);
/* oklch */ color: oklch(53.7% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#8c8be5',
    500: '#4b5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ed8;
$custom-light: #8c8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ed8",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 231.915,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.18686,
    "h": 271.9
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#4B5ED8
secondary
#DCD4A3
accent
#D140E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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