#4B4EAC#4B4EAC

#4B4EAC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.147 H 277.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4B4EAC
RGBrgb(75, 78, 172)
HSLhsl(238, 39%, 48%)
HSVhsv(238, 56%, 67%)
CMYKcmyk(56.4%, 54.7%, 0%, 32.5%)
CIE-LABlab(37.70, 26.60, -50.94)
CIE-LCHlch(37.70, 57.47, 297.57°)
OKLaboklab(47.35% 0.02 -0.1458)
OKLCHoklch(47.35% 0.147 277.8)
XYZxyz(13.0701, 9.9223, 40.2482)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4EAC #ACA94B
analogous
#4B7EAC #4B4EAC #784BAC
triadic
#4B4EAC #AC4B4E #4EAC4B
tetradic
#4B4EAC #AC4B7E #ACA94B #4BAC78
square
#4B4EAC #AC4B7E #ACA94B #4BAC78
split-complementary
#4B4EAC #AC784B #7EAC4B
monochromatic
#262757 #383B81 #4B4EAC #7275C2 #9D9FD4

Accessibility & contrast

On white

7.04
#4B4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4B4EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4EAC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4EAC#FFFFFF#000000##FFFFFF
##4B4EAC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#176475
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b4eac;
/* rgb */ color: rgb(75, 78, 172);
/* oklch */ color: oklch(47.3% 0.147 277.8);
Tailwind
colors: {
  custom: {
    50: '#867fc5',
    500: '#4b4eac',
    950: '#000000',
  },
}
SCSS
$custom: #4b4eac;
$custom-light: #867fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4eac",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 238.144,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.1472,
    "h": 277.8
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#4B4EAC
secondary
#C1BF92
accent
#CC59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4B4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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