#4B4FA5#4B4FA5

#4B4FA5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.136 H 277.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4B4FA5
RGBrgb(75, 79, 165)
HSLhsl(237, 38%, 47%)
HSVhsv(237, 55%, 65%)
CMYKcmyk(54.5%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.49, 23.63, -47.12)
CIE-LCHlch(37.49, 52.72, 296.63°)
OKLaboklab(47.04% 0.0184 -0.1346)
OKLCHoklch(47.04% 0.136 277.8)
XYZxyz(12.4870, 9.8036, 36.8243)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4FA5 #A5A14B
analogous
#4B7CA5 #4B4FA5 #744BA5
triadic
#4B4FA5 #A54B4F #4FA54B
tetradic
#4B4FA5 #A54B7C #A5A14B #4BA574
square
#4B4FA5 #A54B7C #A5A14B #4BA574
split-complementary
#4B4FA5 #A5744B #7CA54B
monochromatic
#252751 #383B7B #4B4FA5 #6F73BE #9A9CD1

Accessibility & contrast

On white

7.09
#4B4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4B4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4FA5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4FA5#FFFFFF#000000##FFFFFF
##4B4FA51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#1555A3
Tritanopia (blue-blind)
#216272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b4fa5;
/* rgb */ color: rgb(75, 79, 165);
/* oklch */ color: oklch(47.0% 0.136 277.8);
Tailwind
colors: {
  custom: {
    50: '#8480c0',
    500: '#4b4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4b4fa5;
$custom-light: #8480c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4fa5",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 237.333,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47037,
    "c": 0.13585,
    "h": 277.8
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#4B4FA5
secondary
#BDBB8F
accent
#C85ACD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4B4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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