#4A50BF#4A50BF

#4A50BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.171 H 275.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4A50BF
RGBrgb(74, 80, 191)
HSLhsl(237, 48%, 52%)
HSVhsv(237, 61%, 75%)
CMYKcmyk(61.3%, 58.1%, 0%, 25.1%)
CIE-LABlab(39.50, 31.53, -59.22)
CIE-LCHlch(39.50, 67.09, 298.03°)
OKLaboklab(49.1% 0.0172 -0.1702)
OKLCHoklch(49.1% 0.171 275.8)
XYZxyz(15.0936, 10.9536, 50.5990)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50BF #BFB94A
analogous
#4A8BBF #4A50BF #7F4ABF
triadic
#4A50BF #BF4A50 #50BF4A
tetradic
#4A50BF #BF4A8B #BFB94A #4ABF7F
square
#4A50BF #BF4A8B #BFB94A #4ABF7F
split-complementary
#4A50BF #BF7F4A #8BBF4A
monochromatic
#252969 #353A97 #4A50BF #777CCF #A4A7DF

Accessibility & contrast

On white

6.58
#4A50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4A50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50BF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50BF#FFFFFF#000000##FFFFFF
##4A50BF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a50bf;
/* rgb */ color: rgb(74, 80, 191);
/* oklch */ color: oklch(49.1% 0.171 275.8);
Tailwind
colors: {
  custom: {
    50: '#8881d3',
    500: '#4a50bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a50bf;
$custom-light: #8881d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50bf",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 236.923,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.17106,
    "h": 275.8
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#4A50BF
secondary
#CCC999
accent
#D050D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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