#4B4FEC#4B4FEC

#4B4FEC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.230 H 274.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4B4FEC
RGBrgb(75, 79, 236)
HSLhsl(239, 81%, 61%)
HSVhsv(239, 68%, 93%)
CMYKcmyk(68.2%, 66.5%, 0%, 7.5%)
CIE-LABlab(42.98, 47.26, -79.37)
CIE-LCHlch(42.98, 92.38, 300.77°)
OKLaboklab(52.8% 0.0165 -0.2293)
OKLCHoklch(52.8% 0.23 274.1)
XYZxyz(20.8329, 13.1420, 80.7794)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4FEC #ECE84B
analogous
#4B9FEC #4B4FEC #974BEC
triadic
#4B4FEC #EC4B4F #4FEC4B
tetradic
#4B4FEC #EC4B9F #ECE84B #4BEC97
square
#4B4FEC #EC4B9F #ECE84B #4BEC97
split-complementary
#4B4FEC #EC974B #9FEC4B
monochromatic
#1216AB #181DE2 #4B4FEC #8285F2 #BABBF8

Accessibility & contrast

On white

5.79
#4B4FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4FEC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4FEC#FFFFFF#000000##FFFFFF
##4B4FEC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b4fec;
/* rgb */ color: rgb(75, 79, 236);
/* oklch */ color: oklch(52.8% 0.230 274.1);
Tailwind
colors: {
  custom: {
    50: '#9181f3',
    500: '#4b4fec',
    950: '#000000',
  },
}
SCSS
$custom: #4b4fec;
$custom-light: #9181f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4fec",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 238.509,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.22989,
    "h": 274.1
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#4B4FEC
secondary
#E8E6AB
accent
#D808DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4B4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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