#4A50DF#4A50DF

#4A50DF is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.213 H 274.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4A50DF
RGBrgb(74, 80, 223)
HSLhsl(238, 70%, 58%)
HSVhsv(238, 67%, 87%)
CMYKcmyk(66.8%, 64.1%, 0%, 12.5%)
CIE-LABlab(42.03, 42.26, -73.55)
CIE-LCHlch(42.03, 84.83, 299.88°)
OKLaboklab(51.75% 0.0159 -0.2123)
OKLCHoklch(51.75% 0.213 274.3)
XYZxyz(19.0076, 12.5192, 71.2125)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50DF #DFD94A
analogous
#4A9ADF #4A50DF #8E4ADF
triadic
#4A50DF #DF4A50 #50DF4A
tetradic
#4A50DF #DF4A9A #DFD94A #4ADF8E
square
#4A50DF #DF4A9A #DFD94A #4ADF8E
split-complementary
#4A50DF #DF8E4A #9ADF4A
monochromatic
#1A1F94 #232AC8 #4A50DF #7E82E8 #B2B5F1

Accessibility & contrast

On white

5.99
#4A50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4A50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50DF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50DF#FFFFFF#000000##FFFFFF
##4A50DF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a50df;
/* rgb */ color: rgb(74, 80, 223);
/* oklch */ color: oklch(51.8% 0.213 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e81ea',
    500: '#4a50df',
    950: '#000000',
  },
}
SCSS
$custom: #4a50df;
$custom-light: #8e81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50df",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 237.584,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.21287,
    "h": 274.3
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#4A50DF
secondary
#E0DEA5
accent
#E63BED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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