#4B5AEC#4B5AEC

#4B5AEC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.218 H 272.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4B5AEC
RGBrgb(75, 90, 236)
HSLhsl(234, 81%, 61%)
HSVhsv(234, 68%, 93%)
CMYKcmyk(68.2%, 61.9%, 0%, 7.5%)
CIE-LABlab(45.44, 40.71, -75.33)
CIE-LCHlch(45.44, 85.63, 298.39°)
OKLaboklab(54.6% 0.009 -0.2174)
OKLCHoklch(54.6% 0.218 272.4)
XYZxyz(21.6930, 14.8622, 81.0661)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5AEC #ECDD4B
analogous
#4BAAEC #4B5AEC #8C4BEC
triadic
#4B5AEC #EC4B5A #5AEC4B
tetradic
#4B5AEC #EC4BAA #ECDD4B #4BEC8C
square
#4B5AEC #EC4BAA #ECDD4B #4BEC8C
split-complementary
#4B5AEC #EC8C4B #AAEC4B
monochromatic
#1220AB #182BE2 #4B5AEC #828DF2 #BABFF8

Accessibility & contrast

On white

5.29
#4B5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4B5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5AEC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5AEC#FFFFFF#000000##FFFFFF
##4B5AEC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b5aec;
/* rgb */ color: rgb(75, 90, 236);
/* oklch */ color: oklch(54.6% 0.218 272.4);
Tailwind
colors: {
  custom: {
    50: '#9088f3',
    500: '#4b5aec',
    950: '#000000',
  },
}
SCSS
$custom: #4b5aec;
$custom-light: #9088f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5aec",
  "rgb": {
    "r": 75,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 234.41,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.21759,
    "h": 272.4
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#4B5AEC
secondary
#E8E2AB
accent
#C908DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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