#4B5CEC#4B5CEC

#4B5CEC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.215 H 272.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4B5CEC
RGBrgb(75, 92, 236)
HSLhsl(234, 81%, 61%)
HSVhsv(234, 68%, 93%)
CMYKcmyk(68.2%, 61%, 0%, 7.5%)
CIE-LABlab(45.91, 39.50, -74.57)
CIE-LCHlch(45.91, 84.38, 297.91°)
OKLaboklab(54.94% 0.0076 -0.2151)
OKLCHoklch(54.94% 0.215 272)
XYZxyz(21.8640, 15.2042, 81.1231)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5CEC #ECDB4B
analogous
#4BACEC #4B5CEC #8A4BEC
triadic
#4B5CEC #EC4B5C #5CEC4B
tetradic
#4B5CEC #EC4BAC #ECDB4B #4BEC8A
square
#4B5CEC #EC4BAC #ECDB4B #4BEC8A
split-complementary
#4B5CEC #EC8A4B #ACEC4B
monochromatic
#1222AB #182DE2 #4B5CEC #828EF2 #BAC0F8

Accessibility & contrast

On white

5.20
#4B5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4B5CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5CEC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5CEC#FFFFFF#000000##FFFFFF
##4B5CEC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b5cec;
/* rgb */ color: rgb(75, 92, 236);
/* oklch */ color: oklch(54.9% 0.215 272.0);
Tailwind
colors: {
  custom: {
    50: '#908af3',
    500: '#4b5cec',
    950: '#000000',
  },
}
SCSS
$custom: #4b5cec;
$custom-light: #908af3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5cec",
  "rgb": {
    "r": 75,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 233.665,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.21528,
    "h": 272
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#4B5CEC
secondary
#E8E1AB
accent
#C708DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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