#4A4FBD#4A4FBD

#4A4FBD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.170 H 276.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4A4FBD
RGBrgb(74, 79, 189)
HSLhsl(237, 47%, 52%)
HSVhsv(237, 61%, 74%)
CMYKcmyk(60.8%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.11, 31.48, -58.69)
CIE-LCHlch(39.11, 66.60, 298.21°)
OKLaboklab(48.76% 0.0181 -0.1687)
OKLCHoklch(48.76% 0.17 276.1)
XYZxyz(14.8023, 10.7208, 49.4235)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FBD #BDB84A
analogous
#4A89BD #4A4FBD #7F4ABD
triadic
#4A4FBD #BD4A4F #4FBD4A
tetradic
#4A4FBD #BD4A89 #BDB84A #4ABD7F
square
#4A4FBD #BD4A89 #BDB84A #4ABD7F
split-complementary
#4A4FBD #BD7F4A #89BD4A
monochromatic
#262867 #363A94 #4A4FBD #777BCD #A4A6DE

Accessibility & contrast

On white

6.68
#4A4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FBD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FBD#FFFFFF#000000##FFFFFF
##4A4FBD1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4fbd;
/* rgb */ color: rgb(74, 79, 189);
/* oklch */ color: oklch(48.8% 0.170 276.1);
Tailwind
colors: {
  custom: {
    50: '#8880d2',
    500: '#4a4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fbd;
$custom-light: #8880d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fbd",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 237.391,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.16963,
    "h": 276.1
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#4A4FBD
secondary
#CBC898
accent
#D052D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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