#4A4FBB#4A4FBB

#4A4FBB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.167 H 276.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A4FBB
RGBrgb(74, 79, 187)
HSLhsl(237, 45%, 51%)
HSVhsv(237, 60%, 73%)
CMYKcmyk(60.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(38.96, 30.81, -57.76)
CIE-LCHlch(38.96, 65.47, 298.07°)
OKLaboklab(48.61% 0.0181 -0.1659)
OKLCHoklch(48.61% 0.167 276.2)
XYZxyz(14.5868, 10.6345, 48.2881)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FBB #BBB64A
analogous
#4A87BB #4A4FBB #7D4ABB
triadic
#4A4FBB #BB4A4F #4FBB4A
tetradic
#4A4FBB #BB4A87 #BBB64A #4ABB7D
square
#4A4FBB #BB4A87 #BBB64A #4ABB7D
split-complementary
#4A4FBB #BB7D4A #87BB4A
monochromatic
#262965 #373B91 #4A4FBB #767ACC #A3A6DC

Accessibility & contrast

On white

6.72
#4A4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4A4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FBB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FBB#FFFFFF#000000##FFFFFF
##4A4FBB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4fbb;
/* rgb */ color: rgb(74, 79, 187);
/* oklch */ color: oklch(48.6% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#8880d0',
    500: '#4a4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fbb;
$custom-light: #8880d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fbb",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 237.345,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.16691,
    "h": 276.2
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#4A4FBB
secondary
#C9C797
accent
#CF53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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