#4B4EBA#4B4EBA

#4B4EBA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.167 H 277.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4B4EBA
RGBrgb(75, 78, 186)
HSLhsl(238, 45%, 51%)
HSVhsv(238, 60%, 73%)
CMYKcmyk(59.7%, 58.1%, 0%, 27.1%)
CIE-LABlab(38.71, 31.28, -57.58)
CIE-LCHlch(38.71, 65.53, 298.51°)
OKLaboklab(48.41% 0.0203 -0.1654)
OKLCHoklch(48.41% 0.167 277)
XYZxyz(14.4861, 10.4887, 47.7060)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4EBA #BAB74B
analogous
#4B85BA #4B4EBA #7F4BBA
triadic
#4B4EBA #BA4B4E #4EBA4B
tetradic
#4B4EBA #BA4B85 #BAB74B #4BBA7F
square
#4B4EBA #BA4B85 #BAB74B #4BBA7F
split-complementary
#4B4EBA #BA7F4B #85BA4B
monochromatic
#262864 #373A90 #4B4EBA #777ACB #A3A5DC

Accessibility & contrast

On white

6.78
#4B4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4B4EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4EBA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4EBA#FFFFFF#000000##FFFFFF
##4B4EBA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b4eba;
/* rgb */ color: rgb(75, 78, 186);
/* oklch */ color: oklch(48.4% 0.167 277.0);
Tailwind
colors: {
  custom: {
    50: '#887fcf',
    500: '#4b4eba',
    950: '#000000',
  },
}
SCSS
$custom: #4b4eba;
$custom-light: #887fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4eba",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 238.378,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.16661,
    "h": 277
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#4B4EBA
secondary
#C9C898
accent
#D154D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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