#4B4ECA#4B4ECA

#4B4ECA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.188 H 276.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4B4ECA
RGBrgb(75, 78, 202)
HSLhsl(239, 55%, 54%)
HSVhsv(239, 63%, 79%)
CMYKcmyk(62.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(39.93, 36.63, -64.92)
CIE-LCHlch(39.93, 74.54, 299.43°)
OKLaboklab(49.7% 0.0199 -0.1869)
OKLCHoklch(49.7% 0.188 276.1)
XYZxyz(16.2832, 11.2076, 57.1709)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4ECA #CAC74B
analogous
#4B8DCA #4B4ECA #884BCA
triadic
#4B4ECA #CA4B4E #4ECA4B
tetradic
#4B4ECA #CA4B8D #CAC74B #4BCA88
square
#4B4ECA #CA4B8D #CAC74B #4BCA88
split-complementary
#4B4ECA #CA884B #8DCA4B
monochromatic
#232577 #3134A7 #4B4ECA #7A7CD8 #AAABE6

Accessibility & contrast

On white

6.48
#4B4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4B4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4ECA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4ECA#FFFFFF#000000##FFFFFF
##4B4ECA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b4eca;
/* rgb */ color: rgb(75, 78, 202);
/* oklch */ color: oklch(49.7% 0.188 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b80db',
    500: '#4b4eca',
    950: '#000000',
  },
}
SCSS
$custom: #4b4eca;
$custom-light: #8b80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4eca",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 238.583,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.497,
    "c": 0.188,
    "h": 276.1
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#4B4ECA
secondary
#D3D29D
accent
#DA4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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