#4A50DB#4A50DB

#4A50DB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.4% C 0.208 H 274.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A50DB
RGBrgb(74, 80, 219)
HSLhsl(238, 67%, 57%)
HSVhsv(238, 66%, 86%)
CMYKcmyk(66.2%, 63.5%, 0%, 14.1%)
CIE-LABlab(41.70, 40.93, -71.81)
CIE-LCHlch(41.70, 82.66, 299.68°)
OKLaboklab(51.41% 0.0162 -0.2072)
OKLCHoklch(51.41% 0.208 274.5)
XYZxyz(18.4747, 12.3060, 68.4058)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50DB #DBD54A
analogous
#4A99DB #4A50DB #8C4ADB
triadic
#4A50DB #DB4A50 #50DB4A
tetradic
#4A50DB #DB4A99 #DBD54A #4ADB8C
square
#4A50DB #DB4A99 #DBD54A #4ADB8C
split-complementary
#4A50DB #DB8C4A #99DB4A
monochromatic
#1C218E #262DC1 #4A50DB #7D81E5 #B0B3EF

Accessibility & contrast

On white

6.07
#4A50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50DB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50DB#FFFFFF#000000##FFFFFF
##4A50DB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a50db;
/* rgb */ color: rgb(74, 80, 219);
/* oklch */ color: oklch(51.4% 0.208 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d81e7',
    500: '#4a50db',
    950: '#000000',
  },
}
SCSS
$custom: #4a50db;
$custom-light: #8d81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50db",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 237.517,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.20781,
    "h": 274.5
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#4A50DB
secondary
#DEDBA3
accent
#E33EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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