#4B519F#4B519F

#4B519F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.124 H 277.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4B519F
RGBrgb(75, 81, 159)
HSLhsl(236, 36%, 46%)
HSVhsv(236, 53%, 62%)
CMYKcmyk(52.8%, 49.1%, 0%, 37.6%)
CIE-LABlab(37.63, 20.36, -43.30)
CIE-LCHlch(37.63, 47.85, 295.18°)
OKLaboklab(47.02% 0.0155 -0.1233)
OKLCHoklch(47.02% 0.124 277.2)
XYZxyz(12.1001, 9.8832, 34.0642)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B519F #9F994B
analogous
#4B7B9F #4B519F #6F4B9F
triadic
#4B519F #9F4B51 #519F4B
tetradic
#4B519F #9F4B7B #9F994B #4B9F6F
square
#4B519F #9F4B7B #9F994B #4B9F6F
split-complementary
#4B519F #9F6F4B #7B9F4B
monochromatic
#24274C #373C75 #4B519F #6D73BA #979BCE

Accessibility & contrast

On white

7.05
#4B519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B519F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B519F#FFFFFF#000000##FFFFFF
##4B519F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#24559D
Tritanopia (blue-blind)
#276270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b519f;
/* rgb */ color: rgb(75, 81, 159);
/* oklch */ color: oklch(47.0% 0.124 277.2);
Tailwind
colors: {
  custom: {
    50: '#8381bc',
    500: '#4b519f',
    950: '#000000',
  },
}
SCSS
$custom: #4b519f;
$custom-light: #8381bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b519f",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 235.714,
    "s": 35.897,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.12431,
    "h": 277.2
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#4B519F
secondary
#BAB78C
accent
#C45CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4B519F

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

Preview Lab → · Contrast checker → · Palette generator →

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