#4B4BEC#4B4BEC

#4B4BEC is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.234 H 274.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4B4BEC
RGBrgb(75, 75, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 68%, 93%)
CMYKcmyk(68.2%, 68.2%, 0%, 7.5%)
CIE-LABlab(42.13, 49.56, -80.77)
CIE-LCHlch(42.13, 94.76, 301.54°)
OKLaboklab(52.18% 0.019 -0.2334)
OKLCHoklch(52.18% 0.234 274.7)
XYZxyz(20.5530, 12.5822, 80.6861)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4BEC #ECEC4B
analogous
#4B9BEC #4B4BEC #9B4BEC
triadic
#4B4BEC #EC4B4B #4BEC4B
tetradic
#4B4BEC #EC4B9B #ECEC4B #4BEC9B
square
#4B4BEC #EC4B9B #ECEC4B #4BEC9B
split-complementary
#4B4BEC #EC9B4B #9BEC4B
monochromatic
#1212AB #1818E2 #4B4BEC #8282F2 #BABAF8

Accessibility & contrast

On white

5.97
#4B4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4BEC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4BEC#FFFFFF#000000##FFFFFF
##4B4BEC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005CE9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b4bec;
/* rgb */ color: rgb(75, 75, 236);
/* oklch */ color: oklch(52.2% 0.234 274.7);
Tailwind
colors: {
  custom: {
    50: '#917ef3',
    500: '#4b4bec',
    950: '#000000',
  },
}
SCSS
$custom: #4b4bec;
$custom-light: #917ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4bec",
  "rgb": {
    "r": 75,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.23415,
    "h": 274.7
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#4B4BEC
secondary
#E8E8AB
accent
#DD08DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4B4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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