#4A50BB#4A50BB

#4A50BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.166 H 276.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4A50BB
RGBrgb(74, 80, 187)
HSLhsl(237, 45%, 51%)
HSVhsv(237, 60%, 73%)
CMYKcmyk(60.4%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.21, 30.18, -57.36)
CIE-LCHlch(39.21, 64.81, 297.75°)
OKLaboklab(48.79% 0.0172 -0.1647)
OKLCHoklch(48.79% 0.166 276)
XYZxyz(14.6594, 10.7799, 48.3123)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50BB #BBB54A
analogous
#4A88BB #4A50BB #7C4ABB
triadic
#4A50BB #BB4A50 #50BB4A
tetradic
#4A50BB #BB4A88 #BBB54A #4ABB7C
square
#4A50BB #BB4A88 #BBB54A #4ABB7C
split-complementary
#4A50BB #BB7C4A #88BB4A
monochromatic
#262965 #373B91 #4A50BB #767BCC #A3A6DC

Accessibility & contrast

On white

6.65
#4A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4A50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50BB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50BB#FFFFFF#000000##FFFFFF
##4A50BB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a50bb;
/* rgb */ color: rgb(74, 80, 187);
/* oklch */ color: oklch(48.8% 0.166 276.0);
Tailwind
colors: {
  custom: {
    50: '#8781d0',
    500: '#4a50bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a50bb;
$custom-light: #8781d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50bb",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 236.814,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.16561,
    "h": 276
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#4A50BB
secondary
#C9C797
accent
#CE53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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