#4B4CEC#4B4CEC

#4B4CEC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.233 H 274.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4B4CEC
RGBrgb(75, 76, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 68%, 93%)
CMYKcmyk(68.2%, 67.8%, 0%, 7.5%)
CIE-LABlab(42.34, 48.99, -80.42)
CIE-LCHlch(42.34, 94.17, 301.35°)
OKLaboklab(52.33% 0.0184 -0.2324)
OKLCHoklch(52.33% 0.233 274.5)
XYZxyz(20.6214, 12.7189, 80.7089)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4CEC #ECEB4B
analogous
#4B9CEC #4B4CEC #9A4BEC
triadic
#4B4CEC #EC4B4C #4CEC4B
tetradic
#4B4CEC #EC4B9C #ECEB4B #4BEC9A
square
#4B4CEC #EC4B9C #ECEB4B #4BEC9A
split-complementary
#4B4CEC #EC9A4B #9CEC4B
monochromatic
#1213AB #1819E2 #4B4CEC #8283F2 #BABAF8

Accessibility & contrast

On white

5.93
#4B4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4B4CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4CEC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4CEC#FFFFFF#000000##FFFFFF
##4B4CEC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b4cec;
/* rgb */ color: rgb(75, 76, 236);
/* oklch */ color: oklch(52.3% 0.233 274.5);
Tailwind
colors: {
  custom: {
    50: '#917ff3',
    500: '#4b4cec',
    950: '#000000',
  },
}
SCSS
$custom: #4b4cec;
$custom-light: #917ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4cec",
  "rgb": {
    "r": 75,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 239.627,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.2331,
    "h": 274.5
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#4B4CEC
secondary
#E8E7AB
accent
#DC08DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4B4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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