#4A50CF#4A50CF

#4A50CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.192 H 275.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4A50CF
RGBrgb(74, 80, 207)
HSLhsl(237, 58%, 55%)
HSVhsv(237, 64%, 81%)
CMYKcmyk(64.3%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.73, 36.92, -66.51)
CIE-LCHlch(40.73, 76.07, 299.04°)
OKLaboklab(50.4% 0.0169 -0.1916)
OKLCHoklch(50.4% 0.192 275)
XYZxyz(16.9515, 11.6967, 60.3838)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50CF #CFC94A
analogous
#4A93CF #4A50CF #864ACF
triadic
#4A50CF #CF4A50 #50CF4A
tetradic
#4A50CF #CF4A93 #CFC94A #4ACF86
square
#4A50CF #CF4A93 #CFC94A #4ACF86
split-complementary
#4A50CF #CF864A #93CF4A
monochromatic
#21257D #2E34AE #4A50CF #7A7FDC #ABAEE9

Accessibility & contrast

On white

6.29
#4A50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4A50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50CF#FFFFFF#000000##FFFFFF
##4A50CF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a50cf;
/* rgb */ color: rgb(74, 80, 207);
/* oklch */ color: oklch(50.4% 0.192 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b81df',
    500: '#4a50cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a50cf;
$custom-light: #8b81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50cf",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 237.293,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.19235,
    "h": 275
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#4A50CF
secondary
#D6D49F
accent
#DA46E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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